Skip navigation

This is the code needed to draw the “Beam” effect between two objects that are in After Effects 3D space:

Add “Beam” to a solid (not a Null!).

Add this expression on the Beam “Starting Point” property (replace text in “quotes” with your layer names, of course):

L = thisComp.layer("name_of_another_layer_in_the_timeline");
 fromComp(L.toComp(L.anchorPoint));

 

Add this expression on the Beam “Ending Point” property:

L = thisComp.layer("name_of_the_target_layer_in_the_timeline");
 fromComp(L.toComp(L.anchorPoint));

Here’s a link to more usage of the Beam effect between dynamic objects in only 2D.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: