Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.54

Description

Description:Returns the total mass (weight) of a PhysX object.

Syntax

Syntax:getMass object
Parameters:
Return Value:Number - Mass in kg.

Examples

Examples:
getMass tank1

Additional Information

See also: setMass, getCenterOfMass, getTotalWeightKg, isEPE
Multiplayer: 
Problems:With vehicles, the wheels mass is not taken into account.

Notes