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?
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
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
  Method of scattering objects along spline joebain 1 3 11-26-2024, 03:20 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 5 13 10-29-2024, 10:19 AM
Last Post: _Aka_
  Can't set CG Path Controller j95677 4 22 10-04-2024, 06:55 PM
Last Post: j95677
  Nested Spline Volume Spot Instantiation merobbins5 3 7 07-26-2024, 09:58 AM
Last Post: _Aka_

Forum Jump: