sm.shape.shapesInSphere

Returns a table of all shapes colliding with a given sphere.

Kind: Function

Environments: Game

Game

sm.shape.shapesInSphere( center, radius )

Open the full Game reference

Parameters:

Name Type Description
center Vec3 The center position of the sphere.
radius number The radius of the sphere.

Returns:

Type Description
table The table of found shapes. {Shape, ..}