sm.physics.getShapeContactsInSphere
Returns a table of all shapes colliding with a given sphere.
Kind: Function
Environments: Game
Game
sm.physics.getShapeContactsInSphere( center, radius, world )
Parameters:
| Name | Type | Description |
|---|---|---|
center |
Vec3 | The center position of the sphere. |
radius |
number | The radius of the sphere. |
world |
World | The world to search in. (optional) |
Returns: