Expressions/Scripts/Presets

Moderator: Paul Tuersley

 
bencone
Topic Author
Posts: 1
Joined: Wed Dec 06, 2017 11:45 am

Get world position of trim path point?

Wed Dec 06, 2017 11:50 am

Hey all,

I was hoping any of you would know if it's possible to get the position of the point at which a trimmed path is trimmed.  Meaning, if I have a path and I trim the end 23% I want to know the position of that point on the path. Is this possible?

The end goal is to get the positions of points along any paths.  If I need to calculate this, how would I do it?
 
User avatar
zlovatt
Posts: 15
Joined: Mon Oct 31, 2016 5:00 pm
Location: Los Angeles
Contact:

Re: Get world position of trim path point?

Wed Dec 06, 2017 7:47 pm

Using CC18 and later, AE expressions have access to more path-related functions; you can use "pointOnPath" and feed it a % to get the actual X and Y positions along a path and different percents.

Check out the documentation here: http://expressions.aenhancers.com/path-property.html

Who is online

Users browsing this forum: No registered users and 4 guests