Motion Bricks Studio
README.md
StreamingGroundOldTest
An earlier copy of StreamingGround, kept as a test fixture: Zero-side ground support for automatic locomotion, in rig units, holding its per-foot state across native clip swaps and never applied while a person edits a pose. new(layout, vertices) builds an IK chain per leg from the target rig's roles, records each side's ankle and toe bone, and stores the sole vertex terms whose weighted joint samples give the floor; apply(s, data, contacts, dt) takes each side's floor from those vertices, anchors the toe while contact holds, lifts the ankle onto the floor, drops the pelvis only as far as the legs can reach, solves two-bone IK on both feet and restores each ankle's world rotation, accumulating frames, largest drop and largest tip error in s.stats. It differs from the current module only in how a non-positive dt is handled: here both smoothing rates fall back to full weight and the pelvis snaps to the allowed drop, where StreamingGround keys the foot rate off the frame count and leaves the pelvis where it is.
Nothing in this world requires it yet.