io.scalajs.dom.html.phaser.physics
The Physics Body is linked to a single Sprite.
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, acceleration, bounce values etc all on the Body.
https://phaser.io/docs/2.6.2/Phaser.Physics.Arcade.Body.html
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, acceleration, bounce values etc all on the Body.
https://phaser.io/docs/2.6.2/Phaser.Physics.Arcade.Body.html