API

Type Alias IObstacle

IObstacle:
    | {
        angle: number;
        halfExtents: Vector3;
        position: Vector3;
        ref: unknown;
        type: "box";
    }
    | {
        height: number;
        position: Vector3;
        radius: number;
        ref: unknown;
        type: "cylinder";
    }

Obstacle type