Phaser API Documentation

  Version: 
setMass(value)

Description:

Sets the mass of the physics body

Parameters:

name type description
value number

New value for the mass of the body.

Returns:
Description:

This Game Object.

Since: 3.0.0