Forum Discussion
Carasusan
7 years agoHonored Guest
Quest Touch Controller handling with Unity
Hi, sorry im a beginner. Can somebody explain how i can use the sticks from the touch controllers. I didnt want to trigger the player avatar. i like to move a character like the game Moss. Thanks for your help.
1 Reply
- FocusVRGamesAdventurerHi
You want to make sure you are only using the localavatar and not the playercontroller (playercontroller automatically adds things like movement the the player)
If you want to move another object/character with the touch thumbsticks you can use the OVRInput to receive information about the position of the thumbsticks and move the object using that info. See this page https://developer.oculus.com/documentation/unity/latest/concepts/unity-ovrinput/#touch-input-mapping, which gives you the input mapping for the touch controllers. you want to me looking at Axis2d and moving the object based on the returned values.
Hope that helps.
Mike
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago
- 11 months ago
- 2 years ago