Hi, I’m a bit stumped trying to get some world space quaternions with OpenMaya.
I’m getting local space ones with:
(OpenMaya.MFnTransform object).rotation(asQuaternion=True)
I thought It’d be able to get world space ones with:
(OpenMaya.MFnTransform object).rotation(OpenMaya.MSpace.kWorld, asQuaternion=True)
but I get an “(kInvalidParameter): Object is incompatible with this method” error.
Am I doing something wrong? Or if someone has an alternative method I’m happy to hear it