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

Don't render hands when hand tracking info not reliable. #4

Open
A1igator opened this issue Jun 25, 2020 · 5 comments
Open

Don't render hands when hand tracking info not reliable. #4

A1igator opened this issue Jun 25, 2020 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@A1igator
Copy link
Contributor

the oculus hands do this and disable the mesh renderer and their basic physics capsules. I'm not sure how easy this would be for you since you don't seem to use mesh renderers.

@oxters168 oxters168 self-assigned this Jun 25, 2020
@oxters168 oxters168 added the enhancement New feature or request label Jun 25, 2020
@oxters168
Copy link
Owner

At one point I was trying to make it possible to hide the hands. My method was setting the root gameobject active/inactive. This unfortunately causes issues with the joints, and I found a fix but it's not entirely reliable. It didn't occur to me to just disable parts of the hand. That would be a much better method. Each hand does have it's own mesh renderer, but I don't reference it in the script. I will attempt to add the requested feature.

@oxters168
Copy link
Owner

Pushed the change, let me know if there are any issues with it.

@A1igator
Copy link
Contributor Author

Works for me, but you should probably make it optional like oculus.

@oxters168
Copy link
Owner

Good idea, I pushed the changes with a couple of extra options.

@A1igator
Copy link
Contributor Author

You misspelled input, but outside that it's good!

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

2 participants