CapsuleColliderdirectionOn this pageCapsuleCollider.direction NameTypedirectionnumber Description The direction of the capsule. Extra Detail The value can be 0, 1 or 2 corresponding to the X, Y and Z axes, respectively.