Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve accuracy of hand/face collision #2

Open
barbeau opened this issue May 12, 2020 · 0 comments
Open

Improve accuracy of hand/face collision #2

barbeau opened this issue May 12, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@barbeau
Copy link
Owner

barbeau commented May 12, 2020

The current lens works, but the accuracy could likely be enhanced. Sometimes it seems collisions aren't detected when they should be.

A few possible strategies to explore:

  1. Adjust the input parameters for Box 1 and Box 2 AABB Script in "Inspector" window
  2. Adjust the size of Box 1 and Box 2 in "Scene" window
  3. Adjust the size of Box 2 for the head in the "Scene" window
  4. Adjust the "Attach To Point" for "Head Binding 0" - currently it's "Head Center", but perhaps another option would work better.
  5. Change Box 2 bounding box not to scale with the hand detection. I recall seeing this setting when I was initially adding the feature but can't find it now.

A key difficult seems to be keeping the bounding boxes large enough to detect collisions, but not too large that they hide the hand while it touches the face (it doesn't seem like it detects the hand if it's within the Head bounding box).

@barbeau barbeau added the enhancement New feature or request label May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant