getMass: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...) |
||
Line 21: | Line 21: | ||
| [[getCenterOfMass]], [[setCenterOfMass]], [[setMass]], [[load]], [[weightRTD]] | | [[getCenterOfMass]], [[setCenterOfMass]], [[setMass]], [[load]], [[weightRTD]] | ||
| | | | ||
}} | }} | ||
Revision as of 10:51, 18 January 2021
Description
- Description:
- Returns mass of a PhysX object.
- Groups:
- Object Manipulation
Syntax
Examples
- Example 1:
_mass = getMass _myCar
Additional Information
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
- Posted on April 15, 2015 - 20:15 (UTC)
- Pierre MGI
- This function will return 0 for infantry AI units. That means a manned Blufor Hunter has the same mass than an empty one (8306.63). Crates return their initial mass, but if you empty them or load items, magazines and weapons, the mass remains the same. In fact, none of these (non-physx) objects has a mass.