Controls was very tricky to figure out especially in VR. Because I'm planning on using an xbox 360 controller as my peripheral as well as the Oculus DK2 headset the character controller needed to be modified.
The main issue with using the xbox 360 controller for any VR experience is the camera stick. If the player uses the camera stick on the controller it will contradict the motion input from the headset. With two peripherals both trying to take control of the camera can cause simulation sickness very quickly.
For a while I couldn't solve this issue and considered changing the gameplay from walking simulation to just a sitting VR experience from the center of the room.
However after going to a nDreams VR talk and speaking to Patrick O'Luanaigh he helped explained that I should turn off the camera stick function entirely and use the xbox triggers to rotate the avatar or code a teleportation system to simulate walking.
I decided to use the xbox triggers to rotate the avatar. I set the rotation on the oculus character controller to 0 and added my own rotation script which allowed the triggers to rotate the player.
I also made sure that the whole character controller was switched off as well while the player is rotating. This is because after play testing it myself and to others I found that rotating while moving causes simulation sickness.I also reduced movement speed which also helps tackle simulation sickness.



No comments:
Post a Comment