Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Control of an object that uses a spline
#2
(09-14-2021, 04:24 PM)ricke Wrote:
  • Disable the spline controller in code - when I try to change the transform position of the object, the spline controller still makes it stay on the path.  Maybe because I'm trying to do the movement in the same frame as when I disable the controller?


This one is supposed to work. Maybe you execute the code disabling the spline controller component after said controller run its update method, modifying the transform.
If what I said does not apply on your use case, can you send me a simple reproduction case please?
Thanks, and have a nice
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: Control of an object that uses a spline - by _Aka_ - 09-14-2021, 06:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Curvy Line Renderer for UI Spline? gekido 1 1 8 hours ago
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 2 8 hours ago
Last Post: _Aka_
Bug Changing spline connection in inspector causes splines to revert to defaults lacota 3 6 03-18-2024, 07:55 PM
Last Post: _Aka_
  GO can't fit end of the spline GameDeveloperek4123 3 13 03-04-2024, 11:06 AM
Last Post: _Aka_

Forum Jump: