Class: CapsuleCollider

CapsuleCollider

A capsule-shaped collider.


new CapsuleCollider( [radius] [, height])

Parameters:
Name Type Argument Description
radius number <optional>

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

height number <optional>

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

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