OptionalgroundGround height: plane scalar or (x, z) → y source. Defaults to 0 when support is omitted.
OptionaljointOptional clinical-axis remap used consistently by detection and IK.
OptionallegsLegs to plant. Defaults to both humanoid legs.
The humanoid gait/motion to correct.
OptionalopeningPrior beat plants expressed in this motion's model frame.
When a detected stance begins at the opening sample, its first pin resumes this authoritative position instead of deriving a nearby replacement.
OptionalrestOptional clinical rest frames used consistently by detection and IK.
OptionalsampleSamples/second for detection and re-keying. Defaults to 24.
Rig for forward kinematics.
OptionalsupportExplicit time-dependent ground. Takes precedence over the scalar or positional query.
OptionaltoleranceContact tolerance above the plane counted as stance. Defaults to 0.02.
Sample admitted motion on a fixed clock, detect finite model-frame stance contacts, pin each run and fit targeted leg chains under the same clinical mappings and rig ROM. Unreachable/constrained pins retain the best allowed pose and may leave residual; the result does not guarantee exact no-skate contact. Opening plants resume authoritative targets only for opening stance.