Difference between revisions of "SetRigidBodyMass"

From the Oblivion ConstructionSet Wiki
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.  
----
Note:  The above is incorrect in my observations.  Based on my experience, the higher the value, the more it bounces.
*0 = no movement
*100 = normal
*Values larger than 100 can actually cause the object to gain momentum when it bounces.




[[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.