motion graphics eXchange
top

Spreading layers out in 3D space by slider control

No thumbnail available
found at CreativeCow
After Effects 7
3D
Expressions

Views: 3327
Permalink
visit |  share this  error? 
Name your first layer "Leader" (Select layer, "Enter", name it).

Add a slider control (Effect>Expression Controls>Slider Control. Name the slider "zSpread" (select the slider in the Effect Panel, Enter, name it).

Add your next layer.

Put this expression on Position (Copy the expression, Alt-click the Position Stopwatch, Paste, click outside the expression box):
offset = thisComp.layer("Leader").effect("zSpread")("Slider");
x = thisComp.layer("Leader").position[0];
y = thisComp.layer("Leader").position[1];
z = thisComp.layer("Leader").position[2] + (index-1)*offset;
[x, y, z]
Now if you duplicate that layer they will have the same position as Leader, until you put a number on the slider, then they'll spread out evenly that much.

Note: They need to be at the top of the layer stack, with leader at the very top.

If you're not duplicating layers to make you train, select the position for that layer with the expression, then Edit>Copy Expression Only, and Paste onto as many selected layers as you want to have the expression.


(Min. Version: After Effects 7, Category: 3D, Type: Expressions)
posted by vfx007 on Sep 07, 2008

 

Related topics:

Lightwrap in After Effects

Thumbnail for: Lightwrap in After Effects
This brief tutorial covers the compositing technique of light wrapping.
After Effects CS4
Keying
Video-/Tutorials

Views: 3254
Permalink
posted by jamie on Jan 13, 2012

Lightwrap Preset

Thumbnail for: Lightwrap Preset
This is a preset that you can use on green screen footage or just general compositing.
After Effects CS5
Keying
Presets (ffx)

Views: 2010
Permalink
posted by jamie on Jan 13, 2012

3D Cube Creator

Thumbnail for: 3D Cube Creator
This script is used to create a 3d cube. You can later replace the different sides and spin the null around for easy animation.
After Effects CS3
3D
Scripts (jsx)

Views: 4177
Permalink
posted by MicGyver on Nov 11, 2011


 

 

follow us on http://twitter.com/mgxchangeget in touch on facebook

 

 

motion graphics eXchange - Get The Search Engine