Open topic with navigation
<vizmat>.QuatDiff
Returns the angle between two Quaternions
| <vizmat>.QuatDiff( |
|
| q1 |
| q2 |
| ) |
|
Remarks
This command will return the angle between two quaternions, in degrees
Return Value
The angle between the quaternions, in degrees
Example
import vizmat
q1 = object1.getQuat()
q2 = object2.getQuat()
print(vizmat.QuatDiff(q1,q2))