objectName setCenterOfMass [[com], time]

Operand types

objectName: Object
[[com], time]: Array

Type of returned value

Description

Changes the center of mass of an object smoothly during the given time (in seconds).

A time of zero (or using the alternative syntax) means an immediate change.

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

Used In

Arma3

Example

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