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 function WorldGravity() can be used to affect the mass behaviour in the world.

Supported OS

All

<- SetEntityFriction() - Entity Index