Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

Re: anchored lines

Cow Forums : Adobe After Effects
FAQ   •   VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


Re: anchored lines
by Ben Heusner Brownlee on Oct 8, 2009 at 5:12:26 am

There's a number of different ways to do this and here's a couple:

i) Use a Beam effect, and set one end to your static point. Then use an expression and pickwhip the Null's position to the second point.

ii) Use a lovely "Point At" expression on a line shape. Apply this to the rotation of you line layer:

from=transform.position;
to=thisComp.layer("YOUR LAYER").transform.position;
delta=sub(from,to);
angle=Math.atan2(delta[1],delta[0]);
radiansToDegrees(angle)+180;


Just change the layer name in line 2 to your Null layer's name.

All the best,
Ben

Curious Turtle Pro Video
Training | Editing | Support
Out Now - Film Wash Color Effects Vol. 3
for After Effects & Apple Color
& Mocha training for AE & FCP


Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:
  • anchored lines by Dustin Ward on Oct 7, 2009 at 11:20:33 pm
    • Re: anchored lines by Ben Heusner Brownlee on Oct 8, 2009 at 5:12:26 am




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key. Read more...



Add your message signature


 


Note: By clicking "Post Direct" button above, you are agreeing to the Creative Cow's Code of Conduct.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]