Fields
Type (Enum) - Default: Capsule
Capsule
A capsule collider.
Sphere
A sphere collider.
Direction (Enum) - Default: X
X
Collider will be along the X axis.
Y
Collider will be along the Y axis.
Z
Collider will be along the Z axis.
Center (Vector3) - Default: 0, 0, 0
The center offset of the collider from the object it is attached to.
Radius (Float) - Default: 0.5
The radius of the collider.
Height (Float) - Default: 0
The height of the collider, for capsule colliders.
Radius 2 (Float) - Default: 0
The radius of the second part of the collider, for capsule colliders only.