AutoMovie API
    Preparing search index...

    One limb solve's result.

    interface ISolution {
        along: number;
        end: IAutoMovieVector3;
        flexion: number;
        gap: number;
        middle: IAutoMovieVector3;
        point: IAutoMovieVector3;
        status: "short" | "reached" | "jammed";
    }
    Index
    along: number

    The distance from the middle joint at which the contact sits, metres.

    The end joint (wrist or ankle), world metres.

    flexion: number

    The middle joint's flexion, degrees.

    gap: number

    How far the point falls short of the target, metres: positive when short, negative when jammed past it, otherwise 0.

    The middle joint, world metres.

    Where the chosen point lands, world metres: the target, or the nearest point of the line toward it when short.

    status: "short" | "reached" | "jammed"

    reached, short (miss at maximum reach) or jammed (closer than the band).