How do I centre the pivot on the pieces of a fractured mesh?

   2319   3   1
User Avatar
Member
17 posts
Joined: May 2014
Offline
Hi! How do I centre the pivot on the pieces of a fractured mesh? I fractured my cube, used a ‘for each primitive’ to add a transform node to rotate the pieces but the pivots are all in the same position… any help would be appreciated!

Dave
User Avatar
Member
269 posts
Joined: March 2013
Offline
Hey Dave,

It's because the transform SOPs pivot is at 0,0,0 in the world, sharing no relative relationship to the
individual pieces. In it's pivot section, you can use the $CEX, $CEY, $CEZ to set the pivot to it's bounding
box center, or use the centroid expression for the more modern/preferred way of doing it.


L
I'm not lying, I'm writing fiction with my mouth.
User Avatar
Member
3 posts
Joined: Oct. 2014
Offline
Use Assemble to pack each pieces with checking 'Create Packed Primitives', and rotate your pieces with Primitive node.
User Avatar
Member
17 posts
Joined: May 2014
Offline
Excellent, thanks for your quick reply. Its working as expected with $CEX and now I will go and learn about the centroid expression!

Thanks

Dave
  • Quick Links