Difference between revisions of "SetRigidBodyMass"
Jump to navigation
Jump to search
imported>JOG (moved discussion to talk page) |
imported>JOG |
||
Line 5: | Line 5: | ||
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. | 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. | ||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Object Functions]] | [[Category: Object Functions]] |
Revision as of 10:14, 26 August 2006
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.