03-16-2020, 01:55 PM
(11-01-2019, 02:50 AM)mrphilipjoel Wrote: I forgot to ask this bit:
When in Unity, if I want to demo it, I can use the keyboard, right? Spacebar pedals, and the A and D keys should lean left and right to steer the bike? Well, my camera leans, but it doesn't actually steer the bike (works fine when I load apk on my Oculus Go though). I'd like to be able to steer when in unity. Am I missing something?
Hi Philip, nice work!
The reason your bike isn't turning while playing in the Unity editor is that you must also "look" in the direction you are steering. If you only steer, your vehicle velocity direction will change up to a point, but your VR reference frame won't start turning until you also look that way. The reason you need to look and steer to turn is that is how we prevent motion sickness in VR.
You can use the arrow keys to "look" while testing without a headset, but it's far more natural if you have a Quest in Link mode or another PC headset.