Warning: file_put_contents(/ff_c00b2627c8830037dfd3f48813035e01ea93ced6a6bf80e6.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setCenterOfMass - OFPEC Scripting Command Reference | OFPEC The Editing Center

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];

Advertisement