stephenl Posted July 22, 2011 Share Posted July 22, 2011 (edited) How can I find the nearest point to a point? using the nearpoint expression it just returns itself when i use $TX... I plan to add velocity to the current point towards the nearest point when the current point is activated by a point cloud group switch. (vopsop)I think there is a way to find the nearest point with point clouds but I'm new to Houdini and this is my first time using point clouds and I just don't see a way with as few pc nodes as there are Edited July 22, 2011 by stephenl Quote Link to comment Share on other sites More sharing options...
anim Posted July 22, 2011 Share Posted July 22, 2011 here is the example of calculating nearest pt and velocity to that point using pointcloud (velocity is normalized, not proportional to target distance, just bypass normalize1 to make it proportional) pc_get_nearest_point.hip Quote Link to comment Share on other sites More sharing options...
stephenl Posted July 22, 2011 Author Share Posted July 22, 2011 Hi anim, Thanks, this must be exactly what im looking for. I will look at it as soon as I get a chance. Quote Link to comment Share on other sites More sharing options...
edward Posted July 24, 2011 Share Posted July 24, 2011 You can also use the Proximity POP to generate the attribute called "nearest". I've attached an example. attribNearest.hipnc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.