Vivero / Kerbal-VR

An add-on for Kerbal Space Program (KSP) to enable virtual reality.
MIT License
174 stars 31 forks source link

Not compatible with "Through the eyes"? #82

Open jeancallisti opened 4 years ago

jeancallisti commented 4 years ago

In KSP 1.7.2, when I go in EVA and press C, I have the mod "Through the eyes of a Kerbal" that makes it a first-person EVA. So far so good. I can move around in my space suit using the jetpack, and it's all in first person. Perfect.

However, as soon as I enable VR, there's an issue :

Is there a way for the VR center to follow around the Kerbal's body (his neck)? If you fixed that compatibility issue between the two mods, it would make the KSP VR experience complete.

Vivero commented 4 years ago

Interesting, I haven't tested VR with that mod specifically. There's probably incompatibility in how the two mods interact with the camera that I'm not aware of. I would need to work on this feature specifically for it to work as expected.

jeancallisti commented 4 years ago

If you fix this, then you make KSP truly VR, not just IVA-VR.

Vivero commented 4 years ago

To answer your original question, "Through the Eyes" mod is definitely not compatible with KerbalVR, I looked through their code, and they are manipulating the first-person cameras in ways that are simply incompatible with KerbalVR.

This is all work-in-progress, but I've implement some of this kind of functionality in the latest version here, where the Mk1-3 Command Pod has these blue handles in the cockpit that you can grab onto, and move yourself around the interior of the cabin. Though unfortunately the Kerbal's body is stuck in place, it does not move with your head. Anyways, any feedback is appreciated!