Method b3GetSwingAngle
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
b3GetSwingAngle(Quaternion)
Gets the swing angle away from the z axis, used by cone limits.
public static float b3GetSwingAngle(Quaternion q)Parameters
qQuaternion-
The rotation.
Returns
- float
-
The swing angle in radians, in the range zero to pi.