Notifications
Clear all

[Closed] pivot problems

I did a script a few months ago, which allowed me to align one object’s pivot (translation, rotation and scale) to another object’s pivot.
I have now lost that script.
I can copy the translation:
$object01.pivot = $object02.pivot
But this doesn’t copy the rotation or scale of the pivot.
I seem to remember this was a simple one line solution too. No messing about with strange transformation matrices!
Something like:
$object01.pivot.transform = $object02.pivot.transform
But that don’t work
How do you do it?

1 Reply
1 Reply
 PEN
(@pen)
Joined: 2 years ago

Posts: 0

Your close…
$obj1.transform=$obj2.transform

Read the help file on transforms for alot more information.