Genete! Help! Reverse an angle with radians?
Posted: Tue Oct 23, 2007 3:51 pm
My mirror bones tool script finally works except for this one stupid thing, and I don't really need it because why would you want to mirror bones that aren't parented to a center bone anyway? Still I want to do it right.
I apologize... I should know this by now but I'm stuck.
Imagine you have two unparented "mirrored" bones. On one side you have a bone at 180 degrees on the other 0 degrees and you rotate either bone and you want the bone on the other side to rotate in the opposite direction...
Is there a formula for this? How do you convert an angle in radians to a mirrored angle on the other side?
These bones are not parented so the rotations are "opposite" at all times. I could do it with degrees... I think... but I should do it with radians. Either way I can't figure the darn thing out.
This should be easy shouldn't it? Arrrgggghhh. My brain hurts. I know it involves PI somehow.
Parented bones are a piece of cake since they are a straight reversal.
-vern
I apologize... I should know this by now but I'm stuck.
Imagine you have two unparented "mirrored" bones. On one side you have a bone at 180 degrees on the other 0 degrees and you rotate either bone and you want the bone on the other side to rotate in the opposite direction...
Is there a formula for this? How do you convert an angle in radians to a mirrored angle on the other side?
These bones are not parented so the rotations are "opposite" at all times. I could do it with degrees... I think... but I should do it with radians. Either way I can't figure the darn thing out.
This should be easy shouldn't it? Arrrgggghhh. My brain hurts. I know it involves PI somehow.

Parented bones are a piece of cake since they are a straight reversal.
-vern