Unity components that rely on 3D points now ignore tracking data for frames with high 3D fitting error.
This commit is contained in:
parent
ea735ffdde
commit
cf49ba5468
6 changed files with 13 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue