objectName setCenterOfMass [com]

Operand types

objectName: Object
[com]: Array

Type of returned value

Description

Changes the center of mass of an object.
Change is immediate.

[com]: Array - [x,y,z] offset relative to the give object's model center

Used In

Arma3

Example

_chopper setCenterOfMass [0,-1,0];
Search OFPEC COMREF