Adds an existing Arcade Physics Body or StaticBody to the simulation.
The body is enabled and added to the local search trees.
name | type | description |
---|---|---|
body | Phaser.Physics.Arcade.Body | Phaser.Physics.Arcade.StaticBody |
The Body to be added to the simulation. |
The Body that was added to the simulation.