Phaser API Documentation

  Version: 
Filter
Namespace: Mass
Phaser.Physics.Arcade.Components.Mass

Methods

setMass(value)
Focus
Focus

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
Focus
Focus