AutoMovie API
    Preparing search index...

    Variable formationCycleStrideConst

    formationCycleStride: (
        tracks: ReadonlyArray<readonly THREE.Vector3[]>,
    ) => number = ...

    Estimate ground metres per baked cycle from the lowest part's trajectory.

    The lowest sampled part is used as a possible ground-contact proxy. Half its closed horizontal path approximates a reciprocating sweep, and samples in its lower half-height range approximate the contact fraction. Dividing that sweep by the fraction estimates stride for this simple gait model.

    Arbitrary paths can circle, touch elsewhere or remain at low height without contact; those cases need not satisfy the proxy. This is not a physical no-slip/contact solver or an exact ground distance inferred from any figure.

    A track that never moves horizontally returns zero, and a figure with no parts returns zero: nothing is carried anywhere, and the caller plays such a cycle on its own declared period.

    Type Declaration

      • (tracks: ReadonlyArray<readonly THREE.Vector3[]>): number
      • Parameters

        • tracks: ReadonlyArray<readonly THREE.Vector3[]>

        Returns number