Masoud Posted September 19, 2019 Share Posted September 19, 2019 Hello; Please help : I need to move my geometry perpendicular to existing Normals. Thanks. CrossNormal_01.hip Quote Link to comment Share on other sites More sharing options...
StepbyStepVFX Posted September 19, 2019 Share Posted September 19, 2019 Hi, if you made a curve and that your normal is a « natural » normal (not tweaked manually in another wrangle), then when making your curve, output the tangentu attribute. It should be naturally perpendicular to N. Otherwise, create your own perpendicular vector in a Wrangle using a cross product between your N and an up vector defined arbitrarily (in VEX should be something like v@perpN = cross(@N, up); and define up before like vector up = {0,1,0};) Then same code as you have with N: @P += ch(« offsetperp ») * v@perpN; 1 Quote Link to comment Share on other sites More sharing options...
Masoud Posted September 19, 2019 Author Share Posted September 19, 2019 Thank you. 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.