Sets this physics body to use a circle for collision instead of a rectangle.
name | type | arguments | description |
---|---|---|---|
radius | number |
The radius of the physics body, in pixels. |
|
offsetX | number | <optional> |
The amount to offset the body from the parent Game Object along the x-axis. |
offsetY | number | <optional> |
The amount to offset the body from the parent Game Object along the y-axis. |
This Game Object.