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

Add a guide to use the OpenXR controller Pointer pose #131

Open
fight4dream opened this issue Feb 4, 2022 · 2 comments
Open

Add a guide to use the OpenXR controller Pointer pose #131

fight4dream opened this issue Feb 4, 2022 · 2 comments

Comments

@fight4dream
Copy link

fight4dream commented Feb 4, 2022

image

  1. Create a game object named "Right Pointer Pose" under CameraRigs.UnityXRPluginFramework
  2. Add Tracked Pose Driver (New Input System) component
    image
  3. Press the + button besides 'Position Action' and choose 'Add binding'
    image
  4. Select 'XR Controller' > 'XR Controller (Right Hand)' > 'Optional Controls' > 'pointerPosition'
    image
  5. Press the + button besides 'Rotation Action' and choose 'Add binding'
    image
  6. Select 'XR Controller' > 'XR Controller (Right Hand)' > 'Optional Controls' > 'pointerRotation'
    image
  7. Drag the 'Right Pointer Pose' to the straight pointer's 'Follow Source' field
  8. Repeat the same steps for the left pointer pose.
@thestonefox
Copy link
Member

This PR makes this easier:

ExtendRealityLtd/Tilia.Input.UnityInputSystem#39

image

@thestonefox
Copy link
Member

pointerPosition and pointerRotation seem to get deleted if you use the Oculus Integration Unity asset and switch the XR Plugin to Oculus... as if the Oculus OpenXR implementation has completely removed it

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

No branches or pull requests

2 participants