MichaelJW / DorsalVR

VR interface for PC games
67 stars 7 forks source link

Freelook using headset 6DOF + mountTVToHead? #16

Open nhobson99 opened 2 years ago

nhobson99 commented 2 years ago

I'm wondering if it's possible to pass the headset's position and rotation into Dolphin's built in freelook settings to enable a more VR-like experience. Is there an easy way to do this? At first glance, it seems like DeviceIMUs.yaml would just need an additional few lines for the headset data to be functional. Awesome project btw.

MichaelJW commented 2 years ago

Hey! Thanks for your question. The short answer is "not yet, but hopefully soon".

At the moment, Dolphin doesn't support passing through exact pan/rotation values for the free look camera, only relative values - that is, you can say "tilt camera left by X degrees per second" but not "make camera face 30 degrees left". So while you can map the HMD's movement to the free look camera to an extent via DorsalVR, you end up with pretty big drift pretty quickly, which doesn't make for a pleasant VR experience.

I've been working with @iwubcode from the Dolphin team on a way to fix this, and we're getting very close, but we're not quite there yet. I'll reply here again when there's any update.