Skip to content

💻 Orbiting an object manually

Info

The steps in this exercise were partly shown in the presentation as well, but that was mostly to illustrate keyframe animation. Here, you can redo those steps in detail and experiment with them.

To orbit an object the camera needs a circular path around the object's location.

  1. Load orbit.blend

The scene contains a single monkey (centered at the origin) and a camera. Note that the animation has a length of 100 frames, starting at frame 0.

As a first way of doing an orbit we're going to add keyframes for the camera position, as it rotates around the monkey, using the 3D cursor pivot mode.

  1. Set the Pivot Point mode to 3D cursor (bring up the Pivot Point pie menu with period ., select 3D Cursor).
  2. Make sure the 3D cursor is located in the origin by resetting its position with Shift-C. This will also change the view to fit the scene extents. In general, you can check the current position of the 3D cursor in the sidebar (N to toggle) on the View tab under 3D Cursor
  3. Select the camera. Verify that as you rotate it around the Z axis the camera indeed orbits the 3D cursor, and therefore also orbits around the monkey head.
  4. Add 4 keyframes at intervals of 25 frames and 90 degrees rotation around Z to complete a 360 degree rotation of the camera around the object over the full animation of 100 frames
  5. Play the animation with Spacebar. Is the camera orbit usable? Why not? Also check the camera view during playback.
  6. Check the graphs in the Graph Editor. See if you can improve the camera orbit, either by changing the graphs, inserting more keyframes, or both. One way to influence the shape of the curves is to edit the handles attached to each control point, or to change the keyframe interpolation for a control point with T.

Tip

If you have only a single object in front of the camera around which you want to orbit, an alternative approach is to simply rotate the object itself while keeping the camera in a fixed position. However, this might not always be feasible or preferable.


Last update: 20 March 2024 10:18:57