...or something. Basically I have to animate a bunch of cupboards with angled hinges. While I eventually worked out how to beat Maya into letting me rotate pivots, its pretty hard to get them lined up neatly on an edge. I wondering whether theres an option/script/whatever that will allow me to snap the pivot point to allign with an edge or some other technique that would have a similar result.
I haven't done much in the way of animation with Maya before, so I might be missing something obvious.
Replies
Ok, so heres my awesome cupboard. Note the sides and door axis are slanted. What I want to do is have some way of snapping my pivot point to the angle of the door axis so that the thing will open smoothly without a lot of mucking about.
http://www.highend3d.com/maya/mel/?section=polygon&sort=dt_modified+desc
mdAlignPivotToFace