Jump to content
Sign in to follow this  
edganHomt

VEX project to a nearest point in surface

Recommended Posts

I'm trying to make  a procedural bridge system and now  creating a vertex in the surface below but it seems to detect the grid without the edit instead.

houdini_33JxLioeZ5.png

Share this post


Link to post
Share on other sites

Hey :)

The nearpoint() expression lets you find the pointnumbers of other geometry nearby.
*If you instead want to get the closest location on the surface, you probably want to use the xyzdist() function.
*Otherwise, if you want to get the position directly underneath (in a specific direction, no matter the angle of the other surface)
you can use the intersect() function.

 

https://www.sidefx.com/docs/houdini/vex/functions/xyzdist.html

https://www.sidefx.com/docs/houdini/vex/functions/intersect.html

 

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  

×