getMass
From Bohemia Interactive Community

Click on the images for descriptions
Introduced in
- Game:
- Arma 3
- Version:
- 1.12
Description
- Description:
- Returns mass of a PhysX object.
Syntax
Examples
- Example 1:
_mass = getMass _myCar
Additional Information
- Multiplayer:
- -
- See also:
- getCenterOfMasssetCenterOfMasssetMassloadweightRTD
Notes
Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
Add New Note | How To
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.