Skip to content

implement "AllowSidegrade" functionality in Hand.cs#384

Open
rrkpp wants to merge 1 commit intoValveSoftware:masterfrom
rrkpp:feature/allow_sidegrade/r1
Open

implement "AllowSidegrade" functionality in Hand.cs#384
rrkpp wants to merge 1 commit intoValveSoftware:masterfrom
rrkpp:feature/allow_sidegrade/r1

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