petz Posted October 23, 2007 Share Posted October 23, 2007 i Quote Link to comment Share on other sites More sharing options...
kubabuk Posted October 23, 2007 Share Posted October 23, 2007 (edited) append transform sop and put in pivot xyz: $CEX $CEY $CEZ that brings transform handle to the centroid of the object. In the translate fields type: -ch("px") -ch("py") -ch("pz") which puts your object back in the origin. save as preset for later use. cheers kuba Edited October 23, 2007 by kubabuk Quote Link to comment Share on other sites More sharing options...
3__ Posted October 23, 2007 Share Posted October 23, 2007 also if the object is animated you can try branching a cache of frame 1 then using point to do the translation ($TX - $CEX2, $TY - $CEY2, $TZ - $CEZ2), where CE2 is from the cache. Quote Link to comment Share on other sites More sharing options...
SpencerL Posted October 23, 2007 Share Posted October 23, 2007 also if the object is animated you can try branching a cache of frame 1then using point to do the translation ($TX - $CEX2, $TY - $CEY2, $TZ - $CEZ2), where CE2 is from the cache. If you are using H9, you can also use the TimeShift SOP and set the frame value to 1 in order to get the centroid. Quote Link to comment Share on other sites More sharing options...
graham Posted October 23, 2007 Share Posted October 23, 2007 Personally I would just put $CE[XYZ] in the pivot parameters and -$CE[XYZ] in the transform parameters. Quote Link to comment Share on other sites More sharing options...
petz Posted October 23, 2007 Author Share Posted October 23, 2007 thanks to all! that 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.