11
$\begingroup$

I'm modeling a car driving along a road(speeds up, slows down, and stops at traffic lights to wait till the lights turn green, etc.) What is the best way to animate the camera path for the following scenario?enter image description here

  1. The camera starts moving from point A, and it takes 500 frames to get to point B. During this 500 frames, the camera first gradually speeds up, then moves at a constant speed, and finally slows down to a complete stop at point B.

  2. The next 50 frames, the camera will stay at point B.

  3. From frame 551, it takes another 500 frames to get to point C from point B. The camera experiences the same motion as described in #1 (speeds up, constant speed, slows down, then stop.)

  4. Again, the camera will stay at point C for another 50 frames.

  5. Point C to D is a curve path ( added using Shift + A -> add path). I want the camera to move along the path from frame 1101 to frame 1200. The camera should have the same motion as before(speeds up, constant speed, slows down, then stop.)

What is the best way to animate the camera path in this case? Is there any Python scripts available and can be applied to case like this? Thank you all in advance for your replies.

$\endgroup$
6
  • $\begingroup$ Use a Follow Path constraint and animate the Offset $\endgroup$
    – J Sargent
    Jan 27, 2015 at 2:27
  • $\begingroup$ The path curve starts only from C to D(shown in red). I wasn't able to make the camera follow path starts from frame 1101 and when I tried Follow Path constraint, the camera doesn't rotate right. $\endgroup$
    – Nan
    Jan 27, 2015 at 2:33
  • $\begingroup$ You can edit curves . . $\endgroup$
    – J Sargent
    Jan 27, 2015 at 2:34
  • $\begingroup$ wiki.blender.org/index.php/Doc:2.4/Manual/Constraints/… $\endgroup$ Jan 27, 2015 at 3:55
  • $\begingroup$ Relevant for your question: blender.stackexchange.com/questions/23675/… $\endgroup$
    – Einar
    Jan 27, 2015 at 4:28

1 Answer 1

17
$\begingroup$

Create a single path for all of the trajectory. On the camera use a Follow Path Constraint. select the Target path, check the Follow Curve box so the camera starys aligned with the path and animate the Offset value.

enter image description here

On frame 1 create a Keyframe at 0. Go to to frame 500, change the offset value so that the camera reaches point B and insert another keyframe. Move to frame 550 and don't alter the offset value and insert another keyframe.

Keep doing the same procedure until your camera reaches point D.

enter image description here

enter image description here

The graph for the camera movement in the Graph Editor shows how the camera starts at 0, picks up speed, decelerates to a stop and accelerates again... all of that because as default Blender uses Bezier interpolation.

enter image description here

$\endgroup$
3
  • $\begingroup$ Are there any practical differences between animating the offset and animating the path animation? Or is it just preference? $\endgroup$
    – Einar
    Jan 27, 2015 at 8:34
  • 1
    $\begingroup$ @NaioaiStudios animating the offset is easier to control with keyframes. Read blender.stackexchange.com/questions/23835/… and blender.stackexchange.com/questions/23311/… $\endgroup$
    – user1853
    Jan 27, 2015 at 15:33
  • $\begingroup$ @cegaton your solution works really well. $\endgroup$
    – Nan
    Jan 27, 2015 at 18:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .