Skip to content
New issue

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

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

Already on GitHub? # to your account

Add interaction framework #11

Open
DerpyNewbie opened this issue Jun 16, 2023 · 0 comments
Open

Add interaction framework #11

DerpyNewbie opened this issue Jun 16, 2023 · 0 comments

Comments

@DerpyNewbie
Copy link
Owner

DerpyNewbie commented Jun 16, 2023

  • 2 ways of interaction input
    • Grab
      • Should be basically same as VRCPickup, but with proximity update
    • Trigger
      • Should be used within grabbed object to interact specific parts within it
  • Works locally
    • Add optional VRCObjectSync-like component to sync globally
  • Local Hands API
    • Provided for callbacks to get more in-depth information about interaction
    • Vector3 Position
    • Quaternion Rotation
    • enum HandType
      • None
      • Left
      • Right
    • bool IsDominant
    • float Trigger
    • bool Grab
    • bool Button1
    • bool Button2
  • More callbacks, More customization
    • When controller interaction is available from either of the hand
      • OnInteraction_Enter
      • OnInteraction_Stay
      • OnInteraction_Exit
    • When controller interaction occurred with grab
      • OnInteraction_Grab
      • OnInteraction_GrabbedTriggerDown
      • OnInteraction_GrabbedTriggerStay
      • OnInteraction_GrabbedTriggerUp
      • OnInteraction_Drop
    • When controller interaction occurred with trigger
      • OnInteraction_TriggerDown
      • OnInteraction_TriggerStay
      • OnInteraction_TriggerUp
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant