SetRigidBodyMass

From the Fallout3 GECK Wiki
Revision as of 14:13, 15 August 2009 by imported>Geckbot (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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