SetRigidBodyMass

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

Sets the mass of an object, which determines how much it moves when it is bumped into or hit with a weapon. Valid values are 0-100, 100 being no movement.

Syntax

[help]
RefID.SetRigidBodyMass RigidBodyMass:float

Example

PistolRef.SetRigidBodyMass 100

PistolRef will not be moved at all if bumped into or hit with a weapon