GetAngularVelocity

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns 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]
(velocity:float) reference.GetAngularVelocity nodeName:string axis:X/Y/Z 

Or:

(velocity:float) reference.GetAngVel nodeName:string axis:X/Y/Z

Example

set fVelocityAngZ to objectRef.GetAngularVelocity "TumbleweedNV" Z 

See Also