Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.6.0
    Preparing search index...

    Interface BoundingBox

    Bounding box definition for an anatomical region.

    Korean: 경계 상자

    Defines the collision volume for an anatomical region using either a sphere, box, or capsule shape. Used for broad-phase collision detection.

    const headBox: BoundingBox = {
    type: "sphere",
    center: { x: 0, y: 1.7, z: 0 },
    dimensions: { x: 0.125, y: 0, z: 0 }, // radius only
    region: "head"
    };

    경계상자

    interface BoundingBox {
        center: Position3D;
        dimensions: Position3D;
        region: AnatomicalRegionPhysics;
        type: BoundingBoxType;
    }
    Index

    Properties

    center: Position3D

    Center position of the bounding box in 3D space

    dimensions: Position3D

    Dimensions: radius for sphere, width/height/depth for box, radius/height for capsule

    Anatomical region this bounding box represents

    Shape type of the bounding box