SetObjectMass
Jump to navigation
Jump to search
Script Example Missing Function SetObjectMass needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
This function sets the mass of a specified object. Changing the mass leads to a different movement behavior for especially dynamic objects.
Syntax
bool setObjectMass ( float mass )
Required Arguments
- mass: The new mass.
Returns
Returns true if the new mass value has been set, false otherwise.
Example
See Also
- createObject
- getObjectScale
- moveObject
- setObjectScale
- stopObject
- getObjectMass
- getObjectProperty
- setObjectMass
- setObjectProperty