cancel
Showing results for 
Search instead for 
Did you mean: 

[SOLVED] Multiple Touch Control Methods

FallenPlanet
Explorer
Hi All

We are just putting a few finishing touches into AFFECTED - The Manors menu system and we are looking to implement a number of different control methods for our Touch Users. Currently if the user has touch the flashlight is in their right hand, and the analog sticks work as expected, with left stick move, and right stick rotate.

We want to add a single touch option where the trigger moves the player forward, and the analog stick rotates the player. This is fine for right handed players, but for left handed players we want to switch the analog stick on the left touch to rotate the player and not move the player.

I originally though this could be done by having multiple OVRPlayerControllers that we would assign to the player at runtime, but the OVR SDK does not seem to like having multiple OVRPlayerController scripts in the project.

Im not sure if using the Unity Input Manger is the best solution as ive herd reports of it working intermittently with the touch controllers.

Does anyone have any advise on the best solution for this?

Thanks

Mark
1 REPLY 1

FallenPlanet
Explorer
Thanks Imperativity. Managed to get it all working today by modifying the OVRPlayerController script. Ultimately I was over thinking the solution, and a few quick script modifications has worked a treat.