Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
140 stars 2 forks source link

World Orientation Adjustment (horizon adjust) #828

Open kulzae opened 11 months ago

kulzae commented 11 months ago

Is your feature request related to a problem? Please describe.

Currently it can be difficult to use resonite while reclining or laying in bed due to your avatar always looking up (as you are not looking straight ahead when laying down) It would be useful to be able to adjust the orientation of the world in relation to the headsets orientation to allow you to be looking forward when your actual orientation is looking up or angled. This has been previously referred to as "bed mode" and is known as horizon adjust in other platforms.

Describe the solution you'd like

Here are some images from the perspective of someone looking at the vr user to better describe the issue Standing Before Adjustment This image shows the current mode resonite operates in. with the user standing and the RL ground aligned with the ground plane of resonite

Laying After Adjustment

This would be after adjustment. the RL ground plane remaining the same but the orientation of the user changing and orientation of resonite and the view the user sees changing to go with it. this would be something that is set once and re oriented or reset as needed

Describe alternatives you've considered

Currently i use three axis noclip or fly to reorient my view but it requires locomotion changes, my avatar to be floating, and my legs to be behind me as the game is still assuming im looking upward. This feature would also make it easier for those who cannot sit or stand upright to use the platform naturally without needing specific avatar setups or changes to compensate for the angled upward view

Additional Context

No response

Frooxius commented 11 months ago

This is something I wanted to implement at some point. It's not that complex, so it shouldn't take long too add.

shadowpanther commented 11 months ago

Could it be an extension of the seated mode?

shiftyscales commented 11 months ago

I would want them to be separate options/toggles, as there are use-cases/reasons why a user might want to use one but not the other, @shadowpanther. While there is some synergy in their use- they do solve different problems.

shadowpanther commented 11 months ago

I would want them to be separate options/toggles, as there are use-cases/reasons why a user might want to use one but not the other, @shadowpanther. While there is some synergy in their use- they do solve different problems.

I meant for them to be separate options, but the underlying mechanic (recentering and rotating the playspace around the user's head) might be the same. Sorry if my description looked like I suggested for them to be one option.

shiftyscales commented 11 months ago

I think I see what you mean- and yeah- functionally that makes sense to me- it's just altering different transforms for the user's playspace orientation (position for seated mode as opposed to rotation for bed mode).

There are other transforms that can be applied to the user's tracking currently as well, e.g. the AvatarTrackingOffset component. So it'd be good to test against that component as well.

epicEaston197 commented 5 months ago

This is a really useful accessibility feature and now that the settings menu is completed this could be unblocked and could be considered

Frooxius commented 5 months ago

It already is. You can see above that it's been moved to things to do.