Unity components that rely on 3D points now ignore tracking data for frames with high 3D fitting error.

This commit is contained in:
Emiliana 2020-03-30 16:44:33 +02:00
parent ea735ffdde
commit cf49ba5468
6 changed files with 13 additions and 6 deletions

View file

@ -70,7 +70,7 @@ public class OpenSeeIKTarget : MonoBehaviour
void RunUpdate() {
var openSeeData = openSee.GetOpenSeeData(faceId);
if (openSeeData == null)
if (openSeeData == null || openSeeData.fit3DError > openSee.maxFit3DError)
return;
if (openSeeData.time > updated) {
updated = openSeeData.time;