Why dont you make the the track bricks be models and actually contain an animation of the train on all possible levels, much like the JVS door system? You could use events, timers, and relays to make the animations for multiple bricks 'flow' into each other and look like a real train. This way, you could also make smooth looking turns with animations in the corner bricks.