krishna avril Posted September 21, 2019 Share Posted September 21, 2019 I wanted the tubes to arrange towards the geometry... how i can drive my normals towards it??? and the curve is exported from maya in fbx format.... Quote Link to comment Share on other sites More sharing options...
StepbyStepVFX Posted September 21, 2019 Share Posted September 21, 2019 (edited) On the node stream of the curve, add a Point Wrangle, and on the second input of the Point Wrangle node plug the letter geometry. Put the following VEX code in the Point Wrangle: vector pos = minpos(1, @P); v@N = normalize(pos - @P); This should orient your points normals toward the geometry. You can then instance your tubes on these points (nevertheless, be careful of the orientation of the tube beforehand...) Edited September 21, 2019 by StepbyStepVFX 1 Quote Link to comment Share on other sites More sharing options...
krishna avril Posted September 21, 2019 Author Share Posted September 21, 2019 IT WORKED THANK YOU MAN!!!!! 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.