ScriptSpot

Forum topic · General Scripting

Mirroring Objects with Correct Rotation

By JokerMartini · 2010-08-30

Downloads
Description

I was wondering if there is a mirroring script out there that mirror objects with correct rotation on the local.
I've attached an image that explains the rotation desired after mirroring. It would result in allowing users to rotate on the local transform and having the objects on both the left and right rotate outward/inward.

Anyone have any ideas?
Thanks
JokerMartini

Comments (3)

Not

JokerMartini · 2011-08-24

I'm not quite sure I see how this is working. I ran the script and it didn't seem to do much or anything. Although in the code is seems to be doing something but the results are unchanged.

mjbg · 2011-08-24

try it on a Teapot

hi..found this topic while

mjbg · 2011-08-23

hi..
found this topic while searching for an answer to the same question..
i dont know if you already found a way.. if yes, please post..

the only way i found is


objrot = $.rotation.z_rotation
$.pivot = $.center
$.rotation.z_rotation = 0
scale $ [-1,1,1]
rotate $ (eulerangles 0 0 objrot)
ResetPivot $

dont really know if its this what you were looking for.. just looked at your image again. now i´m in doubt