getCenterOfMass objectName

Operand types

objectName: Object

Type of returned value

Description

Returns center of mass of a PhysX object.

Returned array is [x,y,z] offset relative to the model center.

Used In

Arma3

Example

_com = getCenterOfMass _myCar;
Search OFPEC COMREF

Advertisement