SetObjectMass: Difference between revisions
Jump to navigation
Jump to search
(uups) |
UniOnDennis (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
{{client_function}} | {{client_function}} | ||
{{New feature/item|3.0140|1. | {{New feature/item|3.0140|1.3.2|5170| | ||
This function sets the mass of a specified object. Changing the mass leads to a different movement behavior for especially dynamic objects. | This function sets the mass of a specified object. Changing the mass leads to a different movement behavior for especially dynamic objects. | ||
}} | }} |
Revision as of 00:02, 2 May 2013
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 ( object theObject, float mass )
Required Arguments
- theObject: The object whose mass will be set.
- 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