karen Posted May 16, 2023 Share Posted May 16, 2023 in attached file, I'm trying to ray the group of points "base_points" from the side faces onto the middle primitive, but It doesn't work. If I use minimum distance it works but the side faces get distorted, the points don't go in a straight line, but to the closest part, and I want distortion on the side faces. I make sure the direction of the normal is exactly what I want, but the Project Rays vector normal doesn't work ray_normal.hiplc Quote Link to comment Share on other sites More sharing options...
Ziyad Posted May 16, 2023 Share Posted May 16, 2023 Hi Karen the reason is because it fails to find a primitive when shooting a ray in the normals direction since your target collision only has 1 primitive (1 face in the middle). What you could do is drop a convertline node before the ray to break your target's edges into 4 primitives, that should fix the issue. Added VEX version as a bonus ray_normal.hiplc 2 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.