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
Question VolumeController CrossRelativePosition Very Choppy Movement pako88 5 8 06-07-2024, 03:43 PM
Last Post: _Aka_
  How to get length starting from one spline to connected nth spline Dragon-3623 1 1 05-14-2024, 04:52 PM
Last Post: _Aka_
  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_

Forum Jump: