Set the rotation of the object to the given Quaternion
| <node3d>.setQuat( | |
| [x,y,z,w] | |
| mode = viz.ABS_PARENT |
)
[x,y,z,w]
The four numbers representing a Quaternion.
mode = viz.ABS_PARENT
Can be one of the following:
Transform modes |
|
viz.ABS_PARENT |
Perform the transformation absolutely in the parents coordinate system. |
viz.ABS_GLOBAL |
Perform the transformation absolutely in world coordinates. |
viz.REL_LOCAL |
Perform the transformation in the objects local coordinates system. |
viz.REL_PARENT |
Perform the transformation relatively in the parents coordinate system. |
viz.REL_GLOBAL |
Perform the transformation relatively in the global coordinate system. |
This will set the rotation of the object to the given Quaternion
None
<node3d>.setAxisAngle
<node3d>.setEuler
<node3d>.setMatrix
<node3d>.lookAt