Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I make the computer ignore it's parent transform?
#2
Hi
Sorry but I am not familiar with the terminology you used: curvy computer and follower. I am guessing that, in Curvy's terminology, the curvy computer is the curvy spline, and the follower is the spline controller. Am I right?
If so, moving the parent of a curvy spline will inevitably move the spline. This is because the spline and its control points (CPs for short) are simple game objects, which abide by the rules of transforms parenting set in Unity.
If you do need for the spline to be a child of the controller, maybe add a script that will, each frame, move the CPs local position in the opposite way of the movement of the controller, that way the CPs' world position stays the same regardless of the movement of their parent Spline's transform. This solution will make the spline refresh every frame, which will use CPU time, but this is the only solution I see that fits your constraint (the spline being the child of the controller)
Did this help?
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Messages In This Thread
RE: How do I make the computer ignore it's parent transform? - by _Aka_ - 04-04-2022, 12:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to make fast moving controller go all the way to linear points?(curvy8) hawken 7 12 06-06-2023, 09:47 AM
Last Post: _Aka_
Brick Extending Curvy to make a Hallway editor. JacobSL 5 396 02-13-2023, 09:29 AM
Last Post: _Aka_
  Way to make gameobject follow splines 'human-ly'? yun844 3 11 01-17-2023, 10:18 AM
Last Post: _Aka_
  How to make mesh appear only on curves? Vancete 2 18 01-09-2023, 09:10 AM
Last Post: _Aka_

Forum Jump: