n-capsule-collider

native. n-capsule-collider

Create a capsule-shaped collider on this entity. Capsules are a union of a cylinder and two spheres on top and bottom.

Properties:
Name Type Default Description
radius number 1

The radius of the capsule in meters.

height number 1

The height of the shaft of the capsule in meters.

direction string y

The axis with which the capsule is aligned. One of x, y, or z.

Extends