Class: CylinderCollider

CylinderCollider

A capsule-shaped collider.


new CylinderCollider( [radius] [, height])

Parameters:
Name Type Argument Description
radius number <optional>

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

height number <optional>

The height of the cylinder. If omitted, will use the object bounds.

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