Posts: 11
Threads: 4
Joined: Jan 2019
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.
Posts: 2,114
Threads: 92
Joined: Jun 2017
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.
Posts: 11
Threads: 4
Joined: Jan 2019
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.