- Home /
Question by
Cowmanmine · Dec 21, 2014 at 10:08 AM ·
gameobjecttrain
Make one gameobject always touch another gameobject
Hey, I am trying to make a game involving trains, and I wanted to be able to make the train wheels always be on the track. Is there a way that I can make the wheels be permanently on the track? Thanks in advance, Tom
Comment
Best Answer
Answer by Mmmpies · Dec 21, 2014 at 11:30 AM
Take a look at the spline controller. I've not used it myself but appears to do what you want.
[Hermite Spline Controller][1]
It maps a path for your train to follow. [1]: http://wiki.unity3d.com/index.php?title=Hermite_Spline_Controller