Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Move CP00X position in hierarchy
#2
Hello
Unity's API has this method to define the rank of an game object in its hierarchy:
https://docs.unity3d.com/ScriptReference...Index.html
Then after you are done changing the order of CPs, call CurvySpline.SyncSplineFromHierarchy(), and if needed CurvySpline.Refresh() after that.
That should be it. Please let me know if this didn't solve your issue.
Have a nice day
Please consider leaving a review for Curvy Splines, this helps immensely. Thank you.
Reply


Messages In This Thread
Move CP00X position in hierarchy - by UsernameHed - 11-12-2019, 10:32 AM
RE: Move CP00X position in hierarchy - by _Aka_ - 11-12-2019, 02:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is there a way to get the position of each ControlPoint in spline by API? Chanon 1 2,536 06-07-2025, 09:44 AM
Last Post: _Aka_
  Player move with object mcarman 4 3,782 07-29-2024, 06:49 PM
Last Post: mcarman
  Get position of all control points for a spline gekido 1 2,197 03-28-2024, 10:08 PM
Last Post: _Aka_
  Avoiding runtime GC allocations on control point position change Ell223 8 5,807 02-24-2024, 10:43 AM
Last Post: _Aka_

Forum Jump: