Jump to content
Sign in to follow this  
anicg

orientation of copied object to match the normal of the destination of copy to points

Recommended Posts

I'm try to orient the pyramid object to follow the normals of the tube, each pyramid should face where the normal (of the primitive on the tube) is facing. Polyframe on the pyramid doesn't help. Now they are all facing the same way. The last image with the red arrows shows where the pyramids should be pointing. (there is a hip file at the end)

tube.JPG

object to copy.JPG

normal;s.JPG

copy to points.JPG

 

copy to points1.JPG

should be.JPG

orientation in copy to point.hiplc

Edited by anicg

Share this post


Link to post
Share on other sites

Hi there,

 

First of all, your N attribute need to be on point class instead of vertex. So in your normal sop adjust construct to add normal on points.

Second, if you are using pack sop to get the center point make sure you transfer N to the points. Cause the pack won't transfer attributes automatically.

 

Cheers,

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×