3
$\begingroup$

There is no topic for 'paths' so I figured this would probably be a basic issue that someone can help me solve.

I have a spaceship that I modeled. I also have a camera positioned in the distance. I am trying to get the spaceship to follow a bezier curve and fly in front of the camera. I used the "Parent -> Follow Path" method. The problem is when it runs, the ship just goes straight down with a dashed-blue line that points to the path.

I also tried that Add Constraint to follow path, but that was even worse and I don't like having to add all the keyframes so if I can solve this with Parent->Follow Path that would be best (in my book).

For your convenience, I have uploaded the file to gdrive for review

https://drive.google.com/#folders/0BxVGCeUMKMptVEZWaHNUY3hUcUU

$\endgroup$
4
$\begingroup$

The problem is that you added rigid body physics to your spaceship. They conflict with the animation.
To make the ship follow the curve either make your rigid body animated or remove rigid body physics alltogether.
enter image description here

But "Parent->Follow Path" will only set the object's position. Your ship will not be rotated along the curve. The better solution is using a "Follow Path" constraint. To make the constraint work correctly, you will have to clear the ship's translation by selecting it and pressing [Alt+G]. Set the forward axis of the constraint to '-Y' to make the ship point into the correct direction. The rest of the settings should be OK.
enter image description here

You can also edit the way the ship's upward direction is pointing by selecting the curve, going into edit mode and modifying the tilt of the curve's control points until their orientation suits you. Just select a control point and press [Ctrl+T]. By moving the mouse you can rotate the direction the curve interprets as 'Up'.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.