Platform Editor Pricing Docs Sign In Get Started

Chapter 23: 3D Layers and the Scene Camera

Layers are flat by default: they can rotate in the plane of the canvas and nothing more. Turning a layer 3D lets it tilt out of the plane, and adding a scene camera lets the whole scene be viewed — and flown through — from a moving point of view.

The 3D switch

Every layer’s Transform section has a 3D toggle in its header. With it off you get one rotation field:

OffOn
Rotation — degrees in the planeRotate X — tilt about the horizontal axis
Rotate Y — tilt about the vertical axis
Rotate Z — the same in-plane rotation, renamed

Toggling 3D off preserves the X and Y values, so you can switch a look off and back on without losing it.

A layer only leaves the flat rendering path when it is actually rotating out of plane — either the switch is on and Rotate X/Y is non-zero, or the layer has rotate.x / rotate.y keyframes. Switching 3D on and leaving the angles at zero costs nothing.

Animating 3D rotation

rotate.x and rotate.y are keyframable lanes like any other. Set keyframes from the timeline, or turn on auto-keyframe and type new angles.

Practical range. Keep swings within roughly ±88°. At exactly ±90° the layer is edge-on to the camera and has no visible area; going past it flips the layer’s facing. Start and end animations a couple of degrees short of the perpendicular.

Groups in 3D

Groups can be 3D too, and rotating a group rotates its children as one rigid card rather than tilting each child separately. This is the way to build a 3D card flip, a folding panel, or a logo duel: assemble the artwork in a group, then rotate the group.

Gotcha: a 3D-rotated group combined with a scene-based track matte can render blank. If a 3D group disappears in the rendered output, check whether it carries a track matte.

The scene camera

A scene camera is an optional per-scene view transform. Where 3D rotation moves layers, the camera moves the viewpoint, so everything in the scene reacts together.

Adding one

Open the Timeline and click the camera button in the timeline’s toolbar (available while a scene has no camera yet). A Camera row appears pinned above the element rows and is selected for you.

Removing it is the trash action on the camera row; the scene goes back to a plain flat view.

Camera properties

Selecting the camera row swaps the right sidebar to the camera inspector:

GroupFields
PositionX, Y, Z — where the camera is
Look-atX, Y, Z — the point it aims at
LensZoom — focal length as a multiple of canvas width (default 1)

A new camera starts centred on the canvas, pulled back along −Z, looking at the canvas centre.

All seven values are keyframable (camera.position.*, camera.lookAt.*, camera.zoom) and behave like element lanes: typing a value writes a keyframe at the playhead when auto-keyframe is on or the lane is already animated.

While the camera row is selected, a capture layer over the canvas gives you After Effects’ Unified Camera gestures:

GestureAction
DragOrbit around the look-at point
Shift + dragPan (track XY)
Scroll wheel, or Alt + dragDolly (track Z)

A small HUD appears at the top of the canvas with the three modes, the current camera distance in pixels, and an to exit. Clicking a mode button forces that gesture, which is handy on a trackpad where Shift- and Alt-drag are awkward.

The move previews live and commits when the gesture ends — writing keyframes at the playhead under the same auto-keyframe rules. Zoom is deliberately not a gesture: it stays a lens value you type, so a dolly and a zoom never get confused.

Click the HUD’s , or select any other layer, to leave camera navigation.

Using them together

  • Camera for the shot, 3D rotation for the object. A slow orbit reads as a camera move; a card flipping reads as a layer move. Mixing both in one beat usually reads as neither.
  • Depth needs 3D layers. Layers live on the canvas plane; there is no per-layer Z. A camera move over a scene of flat layers tilts that whole plane in one piece. 3D-rotate individual layers or groups if you want them to move against each other.
  • Keep it short. Camera moves are expensive attention. A one-second push-in at the start of a scene does more than a continuous drift through it.

Troubleshooting

The 3D toggle is on but nothing changed. Rotate X and Rotate Y are still 0. The switch alone does nothing.

The layer vanishes mid-animation. It passed through ±90° and is edge-on. Keep swings inside ±88°.

A 3D group renders blank in the movie but not the editor. Check for a track matte on the group; that combination is a known bad pair.

Camera gestures don’t respond. The camera row has to be selected — click it in the timeline. If the scene has no camera, the row isn’t there yet.

The camera move looks flat. Every layer is on the same plane and moves as one. 3D-rotate some layers or groups so the move has something to reveal.


← Previous: Audio Layers | Next: Motion Tracking →