Arma 3 Scripting

Command in PhysX

getMass

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns mass of a PhysX object.

Syntax

getMass object

Parameters:

Returns: Number

Examples

Example 1

_mass = getMass _myCar;

See also

getCenterOfMass · setCenterOfMass · setMass · load · weightRTD · getModelInfo