12-01-2020, 04:39 PM
Hi
It ended up being an issue with using the wrong space in here
spline.GetNearestPointTF(transform.position)
You are using the override that takes a local position. Since you want to use a global position, you should replace this line with the following
spline.GetNearestPointTF(transform.position, Space.World)
Let me know if you encounter other problems.
Have a nice day
It ended up being an issue with using the wrong space in here
spline.GetNearestPointTF(transform.position)
You are using the override that takes a local position. Since you want to use a global position, you should replace this line with the following
spline.GetNearestPointTF(transform.position, Space.World)
Let me know if you encounter other problems.
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.