Facepunch / sbox-issues

162 stars 11 forks source link

VR Settings in the Menu #1243

Open gvarados1 opened 2 years ago

gvarados1 commented 2 years ago

We need VR settings in the main menu. Not every gamemode will support all movement types (teleport) so maybe there needs to be a disclaimer for that?

Movement - Teleport, Continuous Hand, Continuous Head Turning - Snap Turn, Smooth Turn Snap Turn Angle should be 15 degree increments from 15 to 90 I don't use Smooth Turn so idk what the range would be.

Turn Angle/Speed should probably only be shown depending on your Turning selection

https://user-images.githubusercontent.com/39461072/140807988-0ac6a4c2-9926-4bfc-a16e-ecc63fd6e350.mp4

xezno commented 1 year ago

I don't think implementing this would be possible or ideal, VR locomotion is something that would be implemented on a per-game basis and so we wouldn't be able to guarantee control over it

gvarados1 commented 1 year ago

These are pretty common settings that most VR games will have. I think it'd be very useful to have these along with a basic vr template gamemode that has them setup.

Not every non-vr game uses the mouse sensitivity option, but most of them do. It would be very annoying every time you played an FPS game in s&box you had to navigate it's own menu and change the sensitivity in there.

I think a good solution would be calling these "VR Preferences" instead of "VR Settings", and have a disclaimer that not every game will support these

xezno commented 1 year ago

I can see where you're coming from, but different games are going to support different locomotion methods.

Let's think of an example - a singleplayer first-person shooter game. It supports continuous head and continuous hand, but not teleport. What happens when the user chooses teleport, how do we handle that, should we have a ranking system? Or should we leave it up to the game to decide?

I don't know if direct VR settings are something we want directly in the base game either, it's something that would need thinking over. It could maybe make sense if we only display it when you're in VR mode?

gvarados1 commented 1 year ago

A ranking system would work nicely. Games can also tag which locomotion modes they support, and players can filter by that if they have special requirements. Having it only displayed in vr would be great!

xezno commented 1 year ago

OK, I've thought about this some more, and I think I agree with you.. I think I ended up convincing myself in my last comment - I don't see why we can't have some sort of a VR settings menu that only shows up in VR with a locomotion ranking system