All Academy Reels
Teaser

How to Build a 3D Phone Rig in After Effects in Minutes

Creating a 3D phone model usually requires heavy plugins like Element 3D or software like Blender. However, you can create a highly convincing 3D phone entirely natively in After Effects using flat 2D PNG files and a simple Z-space position expression.

The Z-Space Illusion

By stacking multiple copies of the phone's back panel slightly offset in Z-space, we generate real geometric depth that responds perfectly to an active camera.

Z-Depth Stacking Expression

value + [0, 0, index]

After scaling the phone back to 30% and precomposing it, paste this expression into the Position (P) property. It pushes the layer backward in Z-space by 1 pixel for every layer index below it. Duplicate this layer 15 times to create solid 3D thickness out of 2D images.

Rigging the Phone

Once the depth is generated, we need to bind the pieces together so they move as a single rigid object.

1 The Controller

Add a Null Object named "Controller". Select all duplicated phone layers, make them 3D, and parent them to the Null. Rotating the Null now rotates the entire block.

2 The Screen

Drop the Front PNG and Screen PNG into the comp. Precompose them together as "Front", make it 3D, and parent it to the Null. The phone is complete.

3 Keyframes

Animate the Null's Y-Rotation and Position. Make the phone rise while spinning 360°. Hit F9 for Easy Ease and adjust the graph editor for a snappy entrance.

The Infinite RGB Glow Background

A stunning, infinitely looping neon background complements the commercial. Here is how it is built:

  • The Base Shape

    Create a perfect circle in the center of the comp (Stroke: None, Fill: Solid White). Use the Pan Behind tool to center the anchor point perfectly.

  • The Glow Stack

    Apply the Glow effect. Drop Threshold to 0, increase Radius to 400, and Intensity to 2. Set Glow Colors to Arbitrary Map and increase Loops to 7 to generate a dense, colorful ring.

  • ⏱️

    The Loop Expression

    Alt-click the Color Phase property inside the Glow effect and type time * 50. Add a Tint effect mapped to Purple for branding. The colors will shift infinitely without keyframes.

The Final Polish: Screen Replacement

The true power of this rig is its reusability. To add your own app UI or commercial footage, simply open the "Front" precomp. Place your branding video above the phone screen layer, and use the screen layer as an Alpha Matte. This perfectly clips your video into the bezels. Because everything is linked via expressions, your new screen recording will instantly track and render in 3D in the main comp!

Watch the Full Tutorial

Want to Master Motion Design?

If you loved this smart, procedural workflow, join our community for more high-end After Effects techniques, templates, and full tutorials.

Subscribe to Infizy Academy

Discussion (0)

Leave a Reply

Verifying you are human...
Cloudflare security check in progress
Cloudflare

No comments yet. Be the first to start the discussion!