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
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, 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
  Update and Black Friday sale _Aka_ 2 1,822 11-23-2024, 11:58 AM
Last Post: _Aka_
  Calling Update with defined deltatime Marco Schultz 3 2,346 01-25-2023, 01:58 PM
Last Post: _Aka_
  Update - Which folder to delete Marco Schultz 3 2,410 04-26-2022, 05:00 PM
Last Post: _Aka_
  CurvyConnection Update Overhead wingednosering 10 6,796 10-13-2021, 05:23 PM
Last Post: _Aka_

Forum Jump: