I'm trying to animate a cylinder along a spline. The longitudinal axis of the cylinder must remain tangent to the spline. (It will eventually be a rocket in flight, but I want to make sure I understand the animation fundamentals first.)
Immediately after adding the cylinder object to the scene, it behaves as expected - i.e. the Z axis remains tangent to the spline. The problem is that the Z axis is perpendicular to the longitudinal axis of the cylinder. I therefore went into pivot mode and rotated the axis 90 degrees so that the Z axis is parallel to the cylinder's longitudinal axis. The problem is that now the silly thing does somersaults along the spline!!!
Can someone PLEASE tell me how to get the cylinder to travel along the spline so that its longitudinal axis remains tangent to it?
(C3D file is attached. I don't think a "rail" spline is needed, but it's there just in case.)
Immediately after adding the cylinder object to the scene, it behaves as expected - i.e. the Z axis remains tangent to the spline. The problem is that the Z axis is perpendicular to the longitudinal axis of the cylinder. I therefore went into pivot mode and rotated the axis 90 degrees so that the Z axis is parallel to the cylinder's longitudinal axis. The problem is that now the silly thing does somersaults along the spline!!!
Can someone PLEASE tell me how to get the cylinder to travel along the spline so that its longitudinal axis remains tangent to it?
(C3D file is attached. I don't think a "rail" spline is needed, but it's there just in case.)