How to animate train to follow a path

Hi,

I'm trying to animate a train car to follow a path. I've created the actors; train car, leading axle and trailing axle. I've attached the train car to the leading axle and the trailing axle to the train car. I've then defined the leading axle to follow a path and given a specified time so I can see it in motion. Issue here is that when I run the script, on curve path, the trailing axle will be thrown out of the path.

How do I move the trailing axle so that it will follow behind the leading axle following the same path and thus rotate the train car accordingly (similar as how a train car moves in reality)?

Thanks in advance,

Lina

Parents Reply Children