Difference between revisions of "SetRigidBodyMass"
Jump to navigation
Jump to search
imported>Haama (CS 1.0 stuff) |
imported>DragoonWraith |
||
Line 9: | Line 9: | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Functions (CS 1.0)]] | [[Category: Functions (CS 1.0)]] | ||
[[Category: | [[Category: Inventory Functions]] | ||
[[Category: | [[Category: Inventory Functions (CS 1.0)]] |
Revision as of 20:13, 15 August 2007
Syntax:
SetRigidBodyMass fMass
Example:
SetRigidBodyMass 80
This command will set the mass of an object, which determines how much it moves when the player bumps it or hits it with a weapon. Valid values are 0-100, 100 being no movement.