SetAngularVelocity

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Sets the angular velocity, on the specified Axis, of the collision object (if any) attached to the specified node in the calling reference's loaded 3D model.

  • The velocity is in units of 2π rad/s (essentially, revolutions/second).

Syntax

[help]
reference.SetAngularVelocity nodeName:string axis:X/Y/Z velocity:float 

Or:

reference.SetAngVel nodeName:string axis:X/Y/Z velocity:float

Example

objectRef.SetAngularVelocity "TumbleweedNV" Z 20 

See Also