Jump to content
Sign in to follow this  
schiho

Point Expression use $PT ?

Recommended Posts

Hi,

i have a simple question, i am using a sort node with "Proximity to Point" and i want to ignore the Y Axis, therefore i am trying to fetch the Y-Position of the processed Point to my "pointproxy" parameter of the sort node.

post-9299-0-19467100-1386161814_thumb.jp

point("../wrangleNode", ???, "P", 1)

As $PT is not available how would i do this?

Thanks!

Share this post


Link to post
Share on other sites

You could manually calculate the proximity, ignoring the Y axis, and store the value into an attribute beforehand, then just sort by that attribute. You could also store your Y value as an attribute, set it to 0, sort by proximity, then restore the Y position later.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×