Fixed GetNearestPoint

Fixed GetNearestPoint when the spline extends beyond the deform spline in either direction
This commit is contained in:
Josh4359
2023-09-19 11:48:15 -07:00
parent 51d9f90227
commit b126b282bd
2 changed files with 14 additions and 13 deletions

View File

@@ -413,7 +413,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 304474437}
m_LocalRotation: {x: 0, y: 0.905946, z: 0, w: -0.42339322}
m_LocalRotation: {x: 0, y: 0.90936726, z: 0, w: -0.41599432}
m_LocalPosition: {x: 2.3040967, y: 0, z: -2.9640856}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@@ -911,7 +911,7 @@ MonoBehaviour:
m_EditorClassIdentifier:
splineContainer: {fileID: 52903582}
deformContainer: {fileID: 1024458827}
resolution: 1
resolution: 4
--- !u!4 &1797524874
Transform:
m_ObjectHideFlags: 0