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
  Filling a closed spline dynamically rickgplus 1 53 04-16-2025, 08:56 AM
Last Post: _Aka_
Smile Simple splines movement shills 3 384 02-26-2025, 09:40 AM
Last Post: _Aka_
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 191 02-03-2025, 09:34 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 701 01-20-2025, 12:25 PM
Last Post: _Aka_

Forum Jump: