Contents

mass

The mass in kilograms.

Declaration

var mass: Float

Discussion

For a mass of 0 or infinity, the simulation treats the object as PhysicsBodyMode.kinematic. That is, the object doesn’t respond to forces.

See Also

Getting mass properties