Physics.Ninja.Body

Class: Phaser.Physics.Ninja.Body

Constructor

new Body(system, sprite, type, id, radius, x, y, width, height)

The Physics Body is linked to a single Sprite. All physics operations should be performed against the body rather than
the Sprite itself. For example you can set the velocity, bounce values etc all on the Body.

Parameters
Name Type Argument Default Description
system Phaser.P