GetLinearVelocity

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Returns the linear velocity (in game length Units/sec) 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 0.1 Meter/sec, or 7 game Units/sec.

Syntax

[help]
ref.GetLinearVelocity nodeName:string xOut:float yOut:float zOut:float

Example

easypeteref.GetLinearVelocity "Bip01 L Hand" xOut yOut zOut  ;* Function result is stored in xOut, yOut and zOut 

See Also