GetRigidBodyMass

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns a value in the range of 0-100, indicating the Mass of the calling object. The Mass determines how much the object moves when hit by a projectile/explosion, or bumped into. A value of 100 translates as no movement.

Syntax

[help]
(bodyMass:float) reference.GetRigidBodyMass

Example

set fBodyMass to objectRef.GetRigidBodyMass 

Notes

This function will always return 0 when called on an actor.

See Also