Black Trigram (흑괘) - API Documentation - v0.2.10
    Preparing search index...

    Interface PhysicsEntityConfig

    interface PhysicsEntityConfig {
        friction?: number;
        isStatic?: boolean;
        mass?: number;
        position: Position;
        restitution?: number;
        shape:
            | { radius: number; type: "circle" }
            | { height: number; type: "rectangle"; width: number };
        velocity?: Velocity;
    }
    Index

    Properties

    friction?: number
    isStatic?: boolean
    mass?: number
    position: Position
    restitution?: number
    shape:
        | { radius: number; type: "circle" }
        | { height: number; type: "rectangle"; width: number }
    velocity?: Velocity