Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I want SetLocalPositions to update all CPs at once.
#2
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
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: I want SetLocalPositions to update all CPs at once. - by _Aka_ - 05-29-2022, 06:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CG documentation update _Aka_ 0 215 06-19-2026, 11:13 PM
Last Post: _Aka_
  Update and Black Friday sale _Aka_ 2 2,055 11-23-2024, 11:58 AM
Last Post: _Aka_
  Calling Update with defined deltatime Marco Schultz 3 2,610 01-25-2023, 01:58 PM
Last Post: _Aka_
  Update - Which folder to delete Marco Schultz 3 2,736 04-26-2022, 05:00 PM
Last Post: _Aka_

Forum Jump: