Sets whether this Body collides with the world boundary.
Optionally also sets the World Bounce and onWorldBounds
values.
name | type | arguments | Default | description |
---|---|---|---|---|
value | boolean | <optional> | true |
|
bounceX | number | <optional> |
If given this replaces the Body's |
|
bounceY | number | <optional> |
If given this replaces the Body's |
|
onWorldBounds | boolean | <optional> |
If given this replaces the Body's |
This Body object.