Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

CapsuleCollider.direction

Switch to Manual
public int direction;

Description

The direction of the capsule.

The value can be 0, 1 or 2 corresponding to the X, Y and Z axes, respectively.