Set Ground Plane and Origin in After Effects
Setting a ground plane and origin using the 3D Camera Tracker in Adobe After Effects establishes the base coordinate system for your scene. By defining where the flat floor lies and where the exact center point (0,0,0) exists, you can ensure that 3D text, shapes, and imported models align naturally with the perspective and motion of your live-action footage.
Step 1: Track the Footage
- Select your video layer in the timeline.
- Go to Animation > Track Camera or locate 3D Camera Tracker in the Effects & Presets panel and apply it to the clip.
- Allow After Effects to run its background analysis. Once finished, colored tracking points will appear over your footage in the Composition panel.
Step 2: Select the Ground Tracking Points
- Click the 3D Camera Tracker effect in the Effect Controls panel to ensure the track points are visible.
- Hover your cursor over the area that represents your ground or floor surface. A target disc will dynamically orient itself along the perspective of the points.
- Click and drag a marquee selection over at least three tracking points that clearly lie on the same flat, planar surface. Selecting points spread further apart will produce a more accurate plane.
Step 3: Define the Ground Plane and Origin
- Right-click inside the semi-transparent red target disc that appears between your selected points.
- Select Set Ground Plane and Origin from the context menu.
- After Effects will immediately reorient its internal 3D world,
making this selected surface the new X/Z horizontal plane (the ground)
and positioning the world center coordinate
[0, 0, 0]at the center of the target.
Step 4: Create Scene Elements
- Right-click the same target again immediately to create your primary elements.
- Choose Create Text and Camera, Create Solid and Camera, or Create Null and Camera.
- The newly generated camera will match your shot's motion, while the text, solid, or null will sit completely flat on your newly designated ground plane.
Tips for Best Results
- Check Orientation: Create a 3D grid or solid on the ground to visually confirm that the plane does not drift or angle unexpectedly during camera movement.
- Update Anytime: If the ground plane appears crooked, select a different set of points on the flat surface, right-click, and choose Set Ground Plane and Origin again to update the orientation without needing to re-track the entire shot.