SIGN IN
::
SPONSORS
::
ADVERTISING
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
FEATURES
VIDEOS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE AFTER EFFECTS:
Home
Forum
Basics
Expressions
Tutorials
Podcasts
AE Techniques
Creative Cloud Debate
FAQ
Re: Calculate distance on one axis?
COW Forums
:
Adobe After Effects Expressions
FAQ
•
VIEW ALL
•
ADD A NEW POST
•
PRINT
Respond to this post
•
Return to posts index
•
Read entire thread
Re: Calculate distance on one axis?
by
Dan Ebberts
on Jul 27, 2012 at 4:47:24 pm
I still not sure I get it, but let's start with this. If the first two nulls are at comp positions p1 and p2, the point halfway between them would be: (p1 + p2)/2
The y distance between them would be: Math.abs(p1[1] - p2[1])
Does that help at all?
Dan
Posts Index
Read Thread
Reply
Like
Current Message Thread:
Calculate distance on one axis?
by Josh Blenman on Jul 27, 2012 at 4:13:06 pm
Re: Calculate distance on one axis?
by Dan Ebberts on Jul 27, 2012 at 4:27:06 pm
Re: Calculate distance on one axis?
by Josh Blenman on Jul 27, 2012 at 4:33:52 pm
Re: Calculate distance on one axis?
by Dan Ebberts on Jul 27, 2012 at 4:47:24 pm
Re: Calculate distance on one axis?
by Josh Blenman on Jul 27, 2012 at 4:52:15 pm
Re: Calculate distance on one axis?
by Dan Ebberts on Jul 27, 2012 at 4:58:41 pm
Re: Calculate distance on one axis?
by Josh Blenman on Jul 27, 2012 at 8:43:12 pm
LOGIN TO REPLY
FORUMS
•
TUTORIALS
•
FEATURES
•
VIDEOS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
© 2013
CreativeCOW.net
All rights are reserved. -
Privacy Policy
[
Top
]