Jump to content
Sign in to follow this  
breadbox

centroid

Recommended Posts

I am trying to scale in primitives based on the area of a metaball magnet, and I want the prims to use their own center point. i have tried 2 different ways, but neither are working.

the first I create an attribute and store the centerpoint of each prim using $CEX,Y,Z. that gives me centers when i check the spreadsheet but went I try to plug that into the pivot into the magnetSOP it appears that it doesn't have any effect.

same thing happens if I directly call the centroid function within the magnetSOP pivot.

here is an example.

Centroid.hipnc

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  

×