Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add noise to spline controller movement
#1
I'd like to add some random noise for train cars using spline controllers to simulate bumps and rough track. I have created variables for roll, pitch, and yaw, but am not sure how to apply this to the controller, or if it can be done.
Chip
Deko Games
dekogames.com
Reply
#2
Personally I would make the rendered mesh as a child gameobject of the controller game object. That way, the random transform alterations would be only esthetic, and the position of the parent game object will not be altered.
Was my answer clear?
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
Thanks, I'll give that a try. Also I think your rigid body spline controller demo might help, I will look into how joints may be used.
Chip
Deko Games
dekogames.com
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Constant speed along a spline? tfishell 1 16 Yesterday, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 3,105 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 4,462 07-13-2025, 07:11 PM
Last Post: _Aka_
  Is there a way to get the position of each ControlPoint in spline by API? Chanon 1 1,661 06-07-2025, 09:44 AM
Last Post: _Aka_

Forum Jump: