I guess it's a simple thing, but i'm really unexperienced with rotations in max and don't get it:
I want to script a button that "snaps" my wrist-bone into the same orientation as my forearm-bone. Basically the same thing i can do with the align-tool (align local orientation on x,y,z axes).
How do I do this via script? I tried
"$Wrist.rotation = $Forearm.rotation"
"rot = $Forearm.rotation; rotate $Wrist rot"
but it only results in a mess :/
I was hoping for a script-equivalent to the align-tool...