getMass: Difference between revisions
Jump to navigation
Jump to search
m (formatting example) |
No edit summary |
||
Line 38: | Line 38: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on April 15, 2015 - 20:15 (UTC)</dd> | |||
<dt class="note">[[User:Pierre MGI|Pierre MGI]]</dt> | |||
<dd class="note"> | |||
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. | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 21:15, 15 April 2015
Description
- Description:
- Returns mass of a PhysX object.
- Groups:
- Uncategorised
Syntax
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
- 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.