Taos API Reference
    Preparing search index...

    Interface ColliderDoc

    A single collision shape (Godot CollisionShape3D). Pure geometry at the GameObject's transform — it has no body of its own; the nearest ancestor StaticBodyDoc gathers it into one compound body.

    interface ColliderDoc {
        type: "Collider";
        shape?: "box" | "sphere" | "capsule" | "cylinder";
        halfExtents?: [number, number, number];
        radius?: number;
        halfHeight?: number;
    }
    Index

    Properties

    type: "Collider"
    shape?: "box" | "sphere" | "capsule" | "cylinder"
    halfExtents?: [number, number, number]

    Box half-extents.

    radius?: number

    Radius (sphere / capsule / cylinder).

    halfHeight?: number

    Capsule / cylinder half-height (cylindrical section, local Y axis).