Repository navigation
Detached parts
validate_model now finds parts that float free of the model: a leg hovering 1 unit under the torso, a paw sitting beside its leg. Before, only intersections were checked, so these models passed.
- A cube or mesh counts as attached when its world box touches or overlaps a part in its own, parent, child or sibling bone. Everything outside the main body is listed with its bone, the nearest neighbour and the
[x, y, z]gap in units. - Works at the rest pose and at animation times (
animation+times), in the same pass as the intersection check. - On by default.
detached: falseturns it off;tolerance(default 0.01) is also the largest gap that still counts as touching. - No more computing gaps by hand from
query_geometryboxes.
New test: scripts/verify-detached.mjs.