SetEntityMass()

Syntax

SetEntityMass(#Entity, Mass)
Description
Changes the mass of the specified #Entity.

To have any effect, the physic engine needs to be activated with the EnableWorldPhysics().

The command WorldGravity() can be used to affect the mass behaviour in the world.

Supported OS

Windows, Linux

<- SetEntityFriction() - Entity Index