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

objectName setMass mass

Operand types

objectName: Object
mass: Number

Type of returned value

Description

Changes the mass of an object.
Change is immediate.

Mass unit is kg.

Used In

Arma3

Example

myObject setMass 100000;

Advertisement