quaternion.between
EditReturns a quaternion that rotates between two direction vectors.
For correct results, the direction vectors should be normalized.
q = quaternion.between(a, b)Arguments
| Name | Type | Description |
| a | vector | The first direction. |
| b | vector | The second direction. |
Returns
| Name | Type | Description |
| q | quaternion |
A quaternion that rotates from a to b.
|