Rigging a train on a curve has it's problems. The cars have a fixed length and the tighter the radius of the curve, the more the car will cut corners. So a fixed offset will be too long.
My current solution is a bit convoluted:
- I make empties track the main path.
- I control a helper curve with hooks so the helper curve fits the main path reasonably well. The more empties, the better.
- I use a Spline IK Constraint for the bones.
I do that because I cannot seem to move the IK constraint up or down the curve.
Is there a simpler way? I could do it with Python and iterations, but I wonder whether there's an inbuilt method I have overlooked.