dacha
    Preparing search index...

    Interface CapsuleColliderConfig

    Options for a vertical capsule collider.

    Hierarchy (View Summary)

    Index
    debugColor?: string

    The color of the collider in the debug view of the editor.

    disabled: boolean

    Turns the collider off.

    height?: number

    The distance between the centers of the two round ends. The full height is height + 2 * radius.

    layer: string

    The collision layer. Layers decide which colliders collide.

    offset: Point

    Moves the shape away from the position of the actor.

    radius?: number

    The radius of the round ends.

    type: "capsule"

    The shape type. It decides which size fields the config has.