Checks to see if a given x,y coordinate is colliding with this Static Body.
name | type | description |
---|---|---|
x | number |
The x coordinate to check against this body. |
y | number |
The y coordinate to check against this body. |
true
if the given coordinate lies within this body, otherwise false
.