IK goal condition fix & basic unit test

This commit is contained in:
Butterscotch! committed 2026-08-05 12:52:46 -04:00
1 parent 8a51cef017
commit ea348b65bb
2 files changed
+74 -1

No files matched your search

@@ -73,7 +73,7 @@ fun ccdIk(boneInputs: InputSkeleton, bones: ComputedSkeleton, goals: List<IKChai
return IKOutput(
curBones,
goals.associateWith {
chainDistanceFromTarget(bones, it.chain, it.target) <= threshold
chainDistanceFromTarget(curBones, it.chain, it.target) <= threshold
},
)
}