This is a mini tutorial on how to get an object(s) to follow a curve within Blender's Game Engine like a train.This tutorial was done for 2.41

 

 

 

 

 

After many months experimenting I came up with a way to get an object to follow a path with the game engine basically like a drivable train, tram etc which would include dynamics.I dont use the GE physics for this basically just ipo curves and the property ipo actuator and a python script.In this example I already had my train and world set up but a very boring, flat, fixed radius curve sort of deal with no hills or natural rocking etc.

 

 

 

 

 

 

 

 

 

Make sure you have parented everything to an empty Here it is "empty holder" this is the parent of everything on the locomotive. Each car will also need a parent empty.Do not attempt to parent the cars to loco or anything like that.Each one of these emptys will also need the following logic bricks.I also use this technique so the wheels know when and how to roll.

 

 

 

 

 

 

 

 

 

Next Page