/*********************************************************** get object rotation on a single angle ***********************************************************/ float LbaQuaternion::GetRotationSingleAngle() { NxQuat current; current.setXYZW(X, Y, Z, W); return current.getAngle(); }
/*********************************************************** get object rotation on all axis ***********************************************************/ float PhysXActorsHandler::GetRotationSingleAngle() { NxQuat quat = _Actor->getGlobalOrientationQuat(); return quat.getAngle(); }