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

    Interface MovementState

    Complete movement state for physics calculations.

    Korean: 이동 상태 (Movement State)

    Contains position, velocity, and current movement parameters. All vectors are mutable for performance (updated in-place during physics loop).

    이동상태

    interface MovementState {
        acceleration: number;
        currentStance: TrigramStance;
        legInjuryFactor: number;
        maxSpeed: number;
        position: Vector3;
        velocity: Vector3;
    }
    Index

    Properties

    acceleration: number

    Current acceleration magnitude (m/s²)

    currentStance: TrigramStance

    Current Eight Trigram stance

    legInjuryFactor: number

    Leg injury percentage (0-1, where 1 is fully injured)

    maxSpeed: number

    Maximum speed for current state (m/s)

    position: Vector3

    Current position in 3D space (meters).

    NOTE: This is a readonly reference to a mutable THREE.Vector3. The physics engine intentionally mutates the vector in-place (e.g. via position.add(...)) for performance. The readonly modifier prevents reassignment of the Vector3 instance, not mutation of its components.

    velocity: Vector3

    Current velocity vector (m/s).

    NOTE: This is a readonly reference to a mutable THREE.Vector3. The physics engine updates this vector in-place each frame. Callers must not reassign the velocity reference, but may pass it to APIs that read or modify its components.