getMass: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.12|= Game version ____________________...")
 
(see also, example)
Line 17: Line 17:




|x1= <code></code>|= EXAMPLE1  
|x1= <code>_mass = getMass _myCar</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[getCenterOfMass]], [[setCenterOfMass]], [[setMass]], |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 21:02, 5 February 2014

Hover & click on the images for description

Description

Description:
Returns mass of a PhysX object.
Groups:
Uncategorised

Syntax

Syntax:
getMass object
Parameters:
object: Object
Return Value:
Number

Examples

Example 1:
_mass = getMass _myCar

Additional Information

See also:
getCenterOfMasssetCenterOfMasssetMass,

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section