AutoMovie API
    Preparing search index...

    Interface IAutoMovieMotionHumanBalance

    A balancing shift an action computes only when given; absent on the params, none is computed. Each field absent takes the law's recommendation (IAutoMovieMotionHumanActionLaw.balance). Without a recommendation, the weight is 1 and the ramp durations are zero. A missing part or bound is refused by field name.

    Absent, nothing physical is computed: no balance shift, no centre-of-mass loop, no balance solve and no integration, and the posture is the law's own kinematic one; a law's studied compensation lives in its key poses. Given, the law computes a correction for the chosen part on its eligible support phase. A constrained contact can require a numerical fit. The prepared weight scales the correction between the two instants. Animation tools keep such terms off a posed character until asked, Houdini's full-body IK taking its centre-of-mass target only as an optional record with its weight inside it (hou.ik.solvePhysFBIK), and a simulation pays every step, substep and solver iteration of its interval where a posed instant pays one read. Its bounds are events, not shares of the action (laws/declaration.md: other work addresses an action through its named events, because a fraction breaks when the duration changes with the body), resolved as the scheduled instants are.

    interface IAutoMovieMotionHumanBalance {
        by?: IAutoMovieMotionHumanBalance.Part;
        from?: IBound;
        ramp?: IRamp;
        to?: IBound;
        weight?: number;
    }
    Index

    The part moved to keep the centre of mass over the support.

    from?: IBound

    The instant it starts.

    ramp?: IRamp

    The blend durations inside the bounds. By default the weight takes effect at the bounds.

    to?: IBound

    The instant it ends.

    weight?: number

    The share of the needed shift applied, from 0 to 1. Defaults to 1 after the law's recommendation.