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 will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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
  Set Volume to the Volume Controller at Runtime pako88 2 10 04-08-2024, 03:26 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 3 6 04-04-2024, 12:56 PM
Last Post: _Aka_
  Get position of all control points for a spline gekido 1 6 03-28-2024, 10:08 PM
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_

Forum Jump: