Constrain angular rotation around a local axis?

Eric_A
Posts: 6
Joined: Wed May 06, 2009 4:42 am

Constrain angular rotation around a local axis?

Post by Eric_A »

Does anyone know of a way to constrain angular rotation of an object about a particular axis in an object's local coordinate space? The impression I've gotten is that setAngularFactor will lock/unlock rotation in the global coordinate system, which is not what I'm looking for. I've seen mention of using constraints to do this, but not much explanation. As far as I know constraints link together two objects, so I'm not sure how that would be used to limit rotation of just one object.

Any help will earn you a nice, big, virtual high five.