ExtendRealityLtd / ExtendRealityLtd/Tilia.Indicators.ObjectPointers.Unity

Add a guide to use the OpenXR controller Pointer pose

Open
#131 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/22952143/152476686-af07d204-42aa-42d1-b146-19e922dbae49.png)
1. Create a game object named "Right Pointer Pose" under CameraRigs.UnityXRPluginFramework
2. Add `Tracked Pose Driver (New Input System)` component
![image](https://user-images.githubusercontent.com/22952143/152476836-4758e24b-55cd-415c-82d0-e5319883437e.png)
3. Press the + button besides 'Position Action' and choose 'Add binding'
![image](https://user-images.githubusercontent.com/22952143/152495235-6ce14c06-9f8d-4d04-852c-1d60691ddece.png)
4. Select 'XR Controller' > 'XR Controller (Right Hand)' > 'Optional Controls' > 'pointerPosition'
![image](https://user-images.githubusercontent.com/22952143/152495352-7220a0f1-260e-430a-8806-468a7f8f1d25.png)
5. Press the + button besides 'Rotation Action' and choose 'Add binding'
![image](https://user-images.githubusercontent.com/22952143/152495461-8cc6d7df-20b8-40b8-afa5-066b9788619a.png)
6. Select 'XR Controller' > 'XR Controller (Right Hand)' > 'Optional Controls' > 'pointerRotation'
![image](https://user-images.githubusercontent.com/22952143/152477277-b636ab41-e3b2-4f5f-8c72-3b0ae22e1b83.png)
7. Drag the 'Right Pointer Pose' to the straight pointer's 'Follow Source' field
8. Repeat the same steps for the left pointer pose.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.