6
$\begingroup$

I created the camera moving by the curve using parenting and follow path option. However, how to do so that the camera moves on this curve, simultaneously changing the rotation so that all the time it observes the other object (moving along a second path beside)? I have tried to add "track to" option, but the camera was adjusted completely not in this direction what it is necessary.

$\endgroup$
5
$\begingroup$

Here's how to do it.

  1. Create 2 curve paths, create a camera and a target object and parent each to one curve (CTRL-P, then Follow Path).
  2. Add a Track To constraint to the Camera with the target object set as the target
  3. Set the appropriate axis on the Track To constraint so that the camera points at the target. You may need to apply scale and rotation on the camera and/or target object to get it to work.
  4. The camera's rotation will match the target object. You may need to rotate the target object to get the camera Z axis pointing up. Starting with -Z for To Axis and Y for the Up Axis will get you where you want to be most of the time.

enter image description here

| improve this answer | |
$\endgroup$
8
$\begingroup$

For the object add a Follow Path constraint and select the curve you want the object to follow as target. Enable Follow Curve and Enable Animate path.

enter image description here

Your object will follow that path:

enter image description here

Add a second curve.

Place your camera at the same in the same origin point of your second curve (the you want to use as travel path) and add a Follow path constraint with the curve as target, and animate path enabled:

enter image description here

Your camera will travel on that path.

enter image description here

On the camera add a Track to constraint with the object as Target, To -Z and Up Y.

enter image description here

enter image description hereenter image description here

| improve this answer | |
$\endgroup$
3
$\begingroup$

I solved it by using additional empty objects.

  1. Create a Path
  2. Create an empty Cube
  3. Set the Cube as parent object for the Camera: select the Camera and Cube and then Ctrl-P "Object"
  4. Add object constraint for the Cube by right sidebar "Follow Path"

enter image description here

  1. Add am empty Sphere
  2. Add object constraint for the Sphere by right sidebar "Follow Path" (Optional)
  3. Add object constraint for the Camera "Track to" and select the Sphere (I called it "Camera target"). Also, you must need to use Target Z

enter image description here

Result: you can animate the camera rotation by Y use the Sphere X and Z by the Cube

enter image description here

enter image description here

It's an example of how it looks like:

enter image description here

Blender: 2.8

| improve this answer | |
$\endgroup$
0
$\begingroup$

I found a solution, just take the camera and put it at the end of curved path then selected both camera and path using Shift key.

Once selected press Ctrl + P and select follow path. When you press Enter the camera will follow path. The issue is its not following the path, so you do a similar thing to what we did before but you add an empty only this time you place it slightly inside of the path.

Where in this instance the camera is at path end and the empty is slightly to inside the path but near camera. So you select empty and path and click Ctrl + P then follow path. Before you do this make sure timeline is at Zero which places Camera in original position and ensures the empty starts animation from zero.

Once done click on camera then and object constraint called Track to then set the target to empty, set values like Up to Y and to, to -Z

Press Space and you are good to go.

| improve this answer | |
$\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.