Sankar Kumar Posted June 28, 2015 Share Posted June 28, 2015 Hi, I am trying to replace all leafs of a tree with a model. I am having a small problem with leaf rotation. I got the direction of the leafs but can't able to get the rotation of each leafs. I attached the file. Any help would be nice LEAFS REPLACE Rotation issue.zip Quote Link to comment Share on other sites More sharing options...
acey195 Posted June 29, 2015 Share Posted June 29, 2015 without downloading your file, I would say... you probably need an "up" vector for your copy template points, in a direction generally perpendicular to your "N" vector Quote Link to comment Share on other sites More sharing options...
Sankar Kumar Posted June 29, 2015 Author Share Posted June 29, 2015 without downloading your file, I would say... you probably need an "up" vector for your copy template points, in a direction generally perpendicular to your "N" vector I used a foreach sop inside the foreach sop i used a point sop to calculate the leaf direction, can you tell me how to calculate up vector for that Quote Link to comment Share on other sites More sharing options...
boby Posted June 29, 2015 Share Posted June 29, 2015 You could do something like this with the up vector. boby LEAFS REPLACE up.hipnc.zip 1 Quote Link to comment Share on other sites More sharing options...
Sankar Kumar Posted June 29, 2015 Author Share Posted June 29, 2015 You could do something like this with the up vector. boby Thanks Boby, Its brilliant idea 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.