I just got a Oculus Rift for 2 days and I had to make Forklift Man work with it. I overdone it a bit with 4 different cameras that utilize the Oculus DK2 with position tracking.
First of all the First person camera, naturally, the trick here was to make the highest spine bone attached to the camera so the arms are always pointing where you are looking. I had to basically move the bone around for that. The result is that it feels relative natural to grow your arms, point around and grab stuff.
Secondly the room camera. There are various games that use the position tracking in a very interesting way so that you are basically a giant leaning into a tiny scene. I made this work here too with the room (R) cameras, the tricky part was to make the player still moving around and stuff while the camera is controlled by the head mounted display.
The detached camera is really interesting too, you can just press F and the camera becomes detached while the player can move around and you can see his creepy face and his creepy growing. It was tricky to get the orientations all right, it becomes rather confusing.
Last but not least a simple third person camera controlled by the HMD.
Another very cool thing I implemented is optional growing by HMD position (B), so when you lean forward you grow your arms based on how far you get forward. So you can grab something 5 meters away by just leaning forward, sounds like the future am I right? This gets really creepy when you get into a detached camera view look into your characters face and then lean forward, so you actually lean forward in the game while the character reaches towards you. The legs growing is controlled by the height of the HMD then , so you can just stand up to be 20 meters tall and crouch to be normal sized and everything in between works of course too.
You can download the new version with the optional VR now for Windows.
You find all the VR controls and the optional gamepad controls by pressing ESC ingame.
The 2 exploits had been fixed and I also tweaked those physics, just a tad.
0 comments