AutoMovie API
    Preparing search index...

    World motor-goal poses after bounded chain fitting and the remaining endpoint error.

    residual is the Euclidean world distance in metres between the fitted terminal support point and the unchanged requested goal. solvePhysicalChainTarget creates a new target record and detaches changed pose shells; unchanged branches still borrow the input poses and must not be mutated through this result. The solve projects all declared joint coordinates while updating descendants; budget exhaustion may leave nonzero error. Results do not change solved bodies or certify achieved contact.

    type IResult = {
        residual: number;
        targets: Record<string, IAutoMovieRigidTransform>;
    }
    Index
    residual: number

    Remaining Euclidean distance to the original world endpoint goal, metres; may exceed tolerance.

    targets: Record<string, IAutoMovieRigidTransform>

    New motor-goal record in world metres/unit rotations; unchanged pose branches are borrowed from input and must be treated as read-only.