Jump to content
Sign in to follow this  
Iraklo

copied fractured pieces offset problem

Recommended Posts

Hi,

 

I am trying to copy fractured pieces on surface, but some of them are offseted from surface. It seems like after fracturing, pieces are still using pivot before fracturing.

How can that be fixed?

Also how is it possible to get object's pivot's world transforms?

 

post-11344-0-23411800-1433419282_thumb.p

copy test.hipnc

Share this post


Link to post
Share on other sites

Every single piece is offset actually, not just the ones with the red arrows. Move the pieces to origin before copying them onto the points.

  • Like 1

Share this post


Link to post
Share on other sites

Every single piece is offset actually, not just the ones with the red arrows. Move the pieces to origin before copying them onto the points.

Thanks Skybar

 

How do I move all pieces procedurally? I centered pivots with Transform node, but I don't know how to get world offset of centered pivot's position.

Share this post


Link to post
Share on other sites

With a Transform SOP, $CEX $CEY $CEZ as pivot, and -$CEX -$CEY -$CEZ as translate usually does the trick. I'd put it after your Delete SOP there.

  • Like 1

Share this post


Link to post
Share on other sites

With a Transform SOP, $CEX $CEY $CEZ as pivot, and -$CEX -$CEY -$CEZ as translate usually does the trick. I'd put it after your Delete SOP there.

Thanks once again!!!

 

It was so simple :)

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  

×