Sets the velocity of the node
| <node3d>.setVelocity( | |
| [ vx, vy, vz ] | |
| mode = viz.ABS_GLOBAL |
)
[ vx, vy, vz ]
The velocity vector
mode = viz.ABS_GLOBAL
If viz.ABS_GLOBAL, the velocity will be specified in global coordinates. Otherwise the velocity will be specified in the objects local coordinate frame.
Sets the current velocity, which may change due to forces acting on the node.
None
<node3d>.applyForce
<node3d>.applyTorque
<node3d>.getAngularVelocity
<node3d>.getVelocity
<node3d>.setAngularVelocity