Page 1 of 1

How to uses a couple expressions

Posted: December 10th, 2007, 8:32 pm
by senny2002
basically,i just want to do something like this:
http://www.graymachine.com/content/inde ... 3&Itemid=1

How can i uses a couple expressions to control the stratingpoint and endingpoint in 3d space? the Beam effect only have xy value,so the Z value can`t control.is there any way to use expression control it?

Posted: December 11th, 2007, 1:09 am
by Paul Tuersley
You could create two 3D nulls and use expressions like this on Beam's Start and End properties:

Code: Select all

a = thisComp.layer("start null");
a.toComp(a.anchorPoint);

Posted: December 11th, 2007, 1:32 am
by senny2002
thanks,i get the point