Distribute layers in 3D Space

Moderators: Disciple, zlovatt

Post Reply
malex
Posts: 20
Joined: May 21st, 2004, 3:03 pm

May 24th, 2004, 10:50 am

Problem : How to distribute layers in Z space?

Solution (Posted on AE List by Dan Ebberts, Oct 17 2002)

You can spread layers out in Z space with a slider
control applied to a null and an expression like this
applied to the position property of each layer:

position+[0,0,(index-1)*this_comp.layer("Null 1").effect
("Slider Control").param("Slider")]


This eliminates the "cascading expression" slow-down due
to referencing the previous layer, etc.

You can then, of course, keyframe or apply an expression
to the slider control to animate the distance between
the cross-sections.
Post Reply