Sets this Static Body to have a circular body and sets its size and position.
name | type | arguments | description |
---|---|---|---|
radius | number |
The radius of the StaticBody, in pixels. |
|
offsetX | number | <optional> |
The horizontal offset of the StaticBody from its Game Object, in pixels. |
offsetY | number | <optional> |
The vertical offset of the StaticBody from its Game Object, in pixels. |
This Static Body object.