Phaser.Physics.Arcade.Components.Mass

Scope: static

Source: src/physics/arcade/components/Mass.js#L7
Since: 3.0.0

Static functions

setMass

<instance> setMass(value)

Description:

Sets the mass of the physics body

Parameters:

name

type

optional

description

value

number

No

New value for the mass of the body.

Returns: Phaser.Physics.Arcade.Components.Mass - This Game Object.

Source: src/physics/arcade/components/Mass.js#L15
Since: 3.0.0


Updated on