Class: BoxCollider

BoxCollider

A box-shaped collider.


new BoxCollider( [min] [, max])

Parameters:
Name Type Argument Description
min Float4 <optional>

The minimum coordinates of the box in local object space. If omitted, will use the object bounds.

max Float4 <optional>

The maximum coordinates of the box in local object space. If omitted, will use the object bounds.

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