Sets a custom collision boundary rectangle. Use if you want to have a custom boundary instead of the world boundaries.
name | type | arguments | description |
---|---|---|---|
bounds | Phaser.Geom.Rectangle | <optional> |
The new boundary rectangle. Pass |
This Body object.