More Vive controller work (latest_build beta branch)

Polynomial 2 - Universe of the Music

Polynomial 2 is an amazing visual candy which tends to be a space shooter and a music visualizer. Immersive on screen, mind-blowing in VR.

You'll need to enable vive controllers from the Options -> Virtual Reality Controller menu (sorry, I had to turn it off by default because it's too unfinished). The current control scheme: Left-hand touchpad: Thruster control. The direction is set by the combination of the touchpad point and the controller's physical direction in space (e.g. touching left and right when the controller is turned sideways will strafe you up and down). Warning: this seemed like a good idea but in practice takes getting used to. I'm trying to come up with something better. Right-hand touchpad: Attitude control. Holding your finger on the right touchpad makes the right controller work as a control stick (relatively to it's orientation when you touched it). Due to the nauseating effect of rolls (rotations on the forward axis), it only does pitch and yaw. Swiping the right touchpad works like a touchpad mouse-look in an FPS. Clicking the right touchpad ties or unties the aim reticle to the headset (may be disorientating when combined with stick control). Right-hand trigger: shoots different weapons depending on how deep you press it. edit: And grip buttons still let you rotate the spaceship with your controller (even though it is not a very usable control). I'm still working on it and this control scheme is by no means final. I also want to add some customization at a later point but it's not yet clear how customizing the effects of tracked movement should work. It seems I'm literally the first person who's implementing 6-DOF space combat controls using Vive controllers, and it's rather hard to come up with a good control scheme. A lot of ideas that sound good do not actually work out in practice. edit: changed to enable vive controllers by default, they can be disabled in the vr menu. edit: changed it back to disable them by default (too sickening)