quaternion.conjugate
EditReturns the conjugate, or inverse, of a quaternion. This is a quaternion that does the opposite rotation of the original.
r = quaternion.conjugate(q)Arguments
| Name | Type | Description |
| q | quaternion | The quaternion to invert. |
Returns
| Name | Type | Description |
| r | quaternion | The conjugate of the quaternion. |
Notes
This is shorthand for quaternion(-q.x, -q.y, -q.z, q.w).