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

implement "AllowSidegrade" functionality in Hand.cs #384

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rrkpp
Copy link

@rrkpp rrkpp commented Apr 1, 2019

Hi, maybe I'm mistaken but I found that the "AllowSidegrade" AttachmentFlag isn't actually referenced anywhere in the SteamVR plugin. This PR implements the AllowSidegrade flag in Hand.cs : IsGrabEnding() how I imagine it was intended: if the attachedObject being checked has the AllowSidegrade flag, it'll check if the Hand is grabbing with either grip type. If the object doesn't have the flag, the original logic will apply, and it'll check if the Hand is grabbing with the 'grabbedWithType' of the attachedObject.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant