AE ENHANCERS

Expressions/Scripts/Presets
It is currently Wed Oct 22, 2014 7:17 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Ping pong movement between 2 layers
PostPosted: Fri Nov 30, 2007 5:15 am 
Offline

Joined: Thu Nov 29, 2007 4:06 pm
Posts: 1
Hi, i havent a lot of idea about expressions, i have searched at aaaall internet (yes, all) but i havent answers. (my english is very poor too, sorry)
Any ideas (or complete solutions :P) to control the 3D position of a layer, moving between another 2 layers, moving then in 3d space too, in a lapse of X frames. The only thing i have find close to the solution was a "follow object" expression, but is based it frame delay...

any ideas..??¿???¿?

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 6:28 am 
Offline
User avatar

Joined: Mon Apr 30, 2007 5:55 am
Posts: 157
Location: United States, Ohio
Visit here perhaps...?

http://www.jjgifford.com/expressions/re ... index.html


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 30, 2007 4:34 pm 
Offline

Joined: Sat Jun 26, 2004 10:01 am
Posts: 307
Location: Folsom, CA
I'm not sure if this is what you're after, but it might get you started. This position expression will cause a layer to move from "Layer 1" to "Layer 2" over the period that begins at 2 seconds and ends at 3 seconds:

L1 = thisComp.layer("Layer 1"); // layer where travel begins
L2 = thisComp.layer("Layer 2"); // layer where travel ends

t1 = 2; // start moving at 2 seconds
t2 = 3; // finish travel at 3 seconds

linear(time,t1,t2,L1.toWorld(L1.anchorPoint),L2.toWorld(L2.anchorPoint))

Dan

_________________
http://www.motionscript.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group