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

Motion controller/s component #13

Open
Truemedia opened this issue May 12, 2024 · 0 comments
Open

Motion controller/s component #13

Truemedia opened this issue May 12, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed
Milestone

Comments

@Truemedia
Copy link
Collaborator

Truemedia commented May 12, 2024

Motion controllers are the most common physical control input for VR headsets such as the touch controllers for Meta quest 2/3 and the knuckle controllers for valve index.

This consists of 2 controllers, one for the left hand and one for the right hand.

These controllers typically consist of a joystick, several front buttons, several shoulder buttons, and provide some form of motion control tracking typically inside-out tracking.

To accommodate this I propose we create several components to enable the use of motion controllers, and provide hookable eventing/tracking so that developers can utilise extensive use of motion controls for any purposes they need.

These components would consist of:

  • MotionController.vue
    A single motion controller instance that represents a single motion controller, props will consist mainly of an assigned "handedness" which will dictate if it is a left or right handed controller.

  • MotionControllers.vue
    A parent component used to encapsulate a pair of MotionController components, one motion controller assigned to the left hand, and one motion controller assigned to the right hand

These components will be written to implement the WebXR gamepad module to facilitate this functionality https://www.w3.org/TR/webxr-gamepads-module-1/

@Truemedia Truemedia self-assigned this May 12, 2024
@Truemedia Truemedia added the enhancement New feature or request label May 12, 2024
@Truemedia Truemedia changed the title Motion Controller/s component Motion controller/s component May 12, 2024
@Truemedia Truemedia added the help wanted Extra attention is needed label May 12, 2024
@Truemedia Truemedia added this to the Basic VR milestone May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant