<node3d>.setAngularVelocity

Sets the angular velocity of the node

 

<node3d>.setAngularVelocity(
    [ vx, vy, vz ]    
    mode = viz.ABS_GLOBAL    

)

 

[ vx, vy, vz ]


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.


Remarks

Angular velocity is the rate at which a node's orientation changes and is created by torque.

Return Value

None

See also

<node3d>.applyForce
<node3d>.applyTorque
<node3d>.getAngularVelocity
<node3d>.getVelocity
<node3d>.setVelocity