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

    Interface PhysicsSystemInterface

    interface PhysicsSystemInterface {
        addEntity: (entityId: string, config: PhysicsEntityConfig) => void;
        applyForce: (entityId: string, force: Velocity) => void;
        checkCollision: (
            entityIdA: string,
            entityIdB: string,
        ) => CollisionData | null;
        getEntityState: (entityId: string) => PhysicsEntityState | undefined;
        removeEntity: (entityId: string) => void;
        update: (deltaTime: number) => void;
    }
    Index

    Properties

    addEntity: (entityId: string, config: PhysicsEntityConfig) => void
    applyForce: (entityId: string, force: Velocity) => void
    checkCollision: (entityIdA: string, entityIdB: string) => CollisionData | null
    getEntityState: (entityId: string) => PhysicsEntityState | undefined
    removeEntity: (entityId: string) => void
    update: (deltaTime: number) => void