apollo11 Posted October 7, 2022 Share Posted October 7, 2022 (edited) I have normals following each other. The distance between two points is kept in the @perimeter attribute. I want @N to unfollow when @Perimeter crosses the distance I set. I did a setup but it doesn't work properly @N direction keeps changing. Scene file: N_direction.hiplc Edited October 7, 2022 by apollo11 Quote Link to comment Share on other sites More sharing options...
Librarian Posted October 7, 2022 Share Posted October 7, 2022 Take perimeter or Vertex beetwen only 2 points of that Line and promote to Gradient middle, or same Chess tex, make to class and random threshold with constant anime B spline, or some Nice Spline to chops and Back. or use This Shortcut 'Ex' With Vellum( Don't know About Vellum ..Nada...) . just onooo...Maybe it Helps !! set_emi.hipnc Quote Link to comment Share on other sites More sharing options...
Mazl Posted October 7, 2022 Share Posted October 7, 2022 I can´t look at your file right now. but from the pic, it looks like you forgot to set your curly brackets { } for your if statement Quote Link to comment Share on other sites More sharing options...
Benyee Posted October 8, 2022 Share Posted October 8, 2022 On 2022/10/7 at 10:56 PM, apollo11 said: I want @N to unfollow when @Perimeter crosses the distance I set. you should update normal for each point after reaching 2.8 length,I used some simple matrixes to do that hope it helps N_direction_v2.hiplc 1 Quote Link to comment Share on other sites More sharing options...
apollo11 Posted October 8, 2022 Author Share Posted October 8, 2022 (edited) @Benyee It works, thank you, I learned new things thanks to you. Finally, I was planning to restrict the angle of the normal to prevent it from entering the geometry, but I thought it was not so important. Edited October 8, 2022 by apollo11 Quote Link to comment Share on other sites More sharing options...
Fenolis Posted November 2, 2022 Share Posted November 2, 2022 On 10/8/2022 at 5:04 AM, Mazl said: I can´t look at your file right now. but from the pic, it looks like you forgot to set your curly brackets { } for your if statement @Mazl for single lined "if" statements, curly brackets are not necessary. 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.