Strata - v1.4.10
    Preparing search index...

    Interface GaitState

    Current state of a procedural locomotion cycle.

    interface GaitState {
        bodyOffset: Vector3;
        bodyRotation: Euler;
        leftFootLifted: boolean;
        leftFootTarget: Vector3;
        phase: number;
        rightFootLifted: boolean;
        rightFootTarget: Vector3;
    }
    Index

    Properties

    bodyOffset: Vector3

    Computed body offset from root.

    bodyRotation: Euler

    Computed body rotation.

    leftFootLifted: boolean

    Whether the left foot is currently in flight.

    leftFootTarget: Vector3

    Target world position for the left foot.

    phase: number

    Current normalized phase of the cycle (0-1).

    rightFootLifted: boolean

    Whether the right foot is currently in flight.

    rightFootTarget: Vector3

    Target world position for the right foot.