SetObjectMass

From Multi Theft Auto: Wiki
Revision as of 16:53, 28 April 2013 by Jusonex (talk | contribs) (Created page with "{{Needs_Example}} __NOTOC__ {{client_functions}} {{New feature/item|3.0140|1.4|5170| This function sets the mass of a specified object. Changing the mass leads to a different mov...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Accessories-text-editor.png Script Example Missing Function SetObjectMass needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


BEFORE VERSION 1.0 :

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