Shape:containsPoint
EditReturns whether a point is inside the Shape.
This takes into account the pose of the Shape's collider (if any), as well as its local offset set with Shape:setOffset.
Arguments
| Name | Type | Description |
| x | number | The x coordinate of the point. |
| y | number | The y coordinate of the point. |
| z | number | The z coordinate of the point. |
Returns
| Name | Type | Description |
| hit | boolean | Whether the point is inside the Shape. |
Arguments
| Name | Type | Description |
| point | vector | The point, as a vector. |
Returns
| Name | Type | Description |
| hit | boolean | Whether the point is inside the Shape. |