cancel
Showing results for 
Search instead for 
Did you mean: 

Quest Touch Controller handling with Unity

Carasusan
Honored Guest
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 1

FocusVRGames
Adventurer
Hi 

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