05-29-2022, 06:26 PM
Hi
SetLocalPosition does a lot of things: updates the Control point's position, dirties the spline, and handles connections synchronisations. Do you need the synchronization part? Otherwise, you can simply set the local position by calling:
s_SplinePath.ControlPointsList[i].transform.localPosition = s_PositionBuffer[i]
Let me know if this solution is enough for you
Have a nice day
SetLocalPosition does a lot of things: updates the Control point's position, dirties the spline, and handles connections synchronisations. Do you need the synchronization part? Otherwise, you can simply set the local position by calling:
s_SplinePath.ControlPointsList[i].transform.localPosition = s_PositionBuffer[i]
Let me know if this solution is enough for you
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.

