Class: SphereCollider

SphereCollider

A sphere-shaped collider.


new SphereCollider( [radius])

Parameters:
Name Type Argument Description
radius number <optional>

The radius of the sphere. If omitted, will use the object bounds.

Author:
  • derschmale <http://www.derschmale.com>