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
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Please consider leaving a review for Curvy, this helps immensely. Thank you.

