0.1.8 Changes
- Fixed interaction raycast. Now what you are looking at/what is centered on your crosshair will be correctly selected as the thing you will interact with. This will especially help when interacting with smaller objects, like rocks or torches, where this offset was noticeably off.
- Added in Enemy HUDs! You will now see enemy health bars and other stats hovering above the enemy .
- Modified first person camera positioning again:
- The Config options for first person X/Y/Z offsets are now obsolete (third person still used)
- Previous to this change, the HMD position was being used to center the camera on the player model every frame. This turned out to be a bad idea as it meant if the player moved forward in meatspace, the VR camera was moved backwards in the game world to compensate and keep the camera on the player model. This resulted in the effect that the whole world was moving forwards with the player head rather than the player head moving freely in the game world - oops!
- Now the HMD position is only accounted for at startup and each time the VR tracking is re-centered and used to create an offset until the next time tracking is re-centered, so you'll be able to lean forward and won't have the gnarly effect of the world moving with you.
- You can still adjust camera position with the arrow keys/pageup/pagedown, but what you set will not be saved to the config file anymore and it will also be reset to zero each time you recenter tracking.
- To properly center the camera, I recommend sitting upright and still, facing the direction you wish to be "center" and reset tracking with the Home key. This should get you very close to where you want. Only at this point would I use the repositioning keys to adjust position to your preference.