Hans Peter Posted April 23, 2017 Share Posted April 23, 2017 (edited) Hey, a simple question here: how can I move an object to the pivot or a pivot to the center of an object; or an object to the center of the world? Got a case where the ship as well as the pivot are off. I need them both at the same place on object level. Edited April 23, 2017 by Heraklit Quote Link to comment Share on other sites More sharing options...
Sepu Posted April 23, 2017 Share Posted April 23, 2017 add a transform and just press "Move Centroid to Origin" Quote Link to comment Share on other sites More sharing options...
Hans Peter Posted April 23, 2017 Author Share Posted April 23, 2017 Thats in geo level. What about object level? Quote Link to comment Share on other sites More sharing options...
lubitel Posted April 23, 2017 Share Posted April 23, 2017 $CEX $CEY $CEZ on a transform node? Or directly to the Pivot values. Quote Link to comment Share on other sites More sharing options...
f1480187 Posted April 23, 2017 Share Posted April 23, 2017 (edited) Actual geometry has offset of P attribute. You can add Transform SOP, move geometry to origin and then move back to it's previous place on object-level by hand. If you need to turn offset into exact object-level transform values, use Extract Transform node. Let's assume the original object is called orig1: Copy-paste orig1 and call it copy1. Place Transform SOP inside orig1. Set translate to -$CEX, -$CEY + 0.5 * $SIZEY, -$CEZ to center geometry at origin. Go up to scene level and create Extract Transform OBJ. Set orig1 as Source and copy1 as Destination. Make Extract Transform parent of the orig1. Enable Keep Position When Parenting checkbox on the orig1. Unparent orig1 from Extract Transform to get transform values. Disable checkbox from step 7. Delete copy1 and Extract Transform nodes. Now you have orig1 matching it's previous offset with obj-level transform. Edited April 23, 2017 by f1480187 1 1 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.