objectName setMass [mass, time]

Operand types

objectName: Object
[mass, time]: Array

Type of returned value

Description

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

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

mass: Number - in kg
time: Number - in seconds

Used In

Arma3

Example

myObject setMass [100000,0.5];
Search OFPEC COMREF