Method b3GetTwistAngle
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3GetTwistAngle(Quaternion)
Gets the twist angle about the z axis, used by twist limits and the revolute joint angle limit.
public static float b3GetTwistAngle(Quaternion q)Parameters
qQuaternion-
The rotation.
Returns
- float
-
The twist angle in radians, in the range minus pi to pi.