veryjos / penumbra_vr

VR support for Penumbra: Overture
37 stars 10 forks source link

Up/forward on the trackpad should be in the direction of the trackpad instead of the gaze of the hmd #16

Open Aesop112 opened 7 years ago

veryjos commented 7 years ago

I initially did do it like this, but holding the glowstick above my head predictably caused you to shoot off in random directions. I'll add it back as an option.

IVIrEos commented 6 years ago

I may have a better solution for you. Although the name he is using is in conflict. What he refers to is better known as hand or wand relative. (aka Onward.... )

Trackpad relative is as follows.

Mechwarrior. You have a torso and legs. When a users thumb first engages the touchpad, forward direction (Legs) gets defined and locked. Hand movement and HMD (Torso) movement have no effect on changing direction so long as the users thumb stays in contact. Lifting the thumb and retouching the pad would be the equivalent of Realigning legs to torso.

This makes all directional control controlled by the trackpad only during movement. With an easily changed forward lock with the lift of your thumb.

There is alot more to this involved with rotation.

Emulate a mouse for rotation on the right pad, not a thumbstick. If you've already realized this, forgive me, I haven't exactly played it in awhile.... the interest only just recently rekindled. I just can't stand emulating a thumbstick for rotation on a touchpad and every game from here to sunrise does it.

Once rotation on this touchpad is sorted out. It needs to work with trackpad relative like so.

If the HMD is turned 20 degrees to the left of center. When I engage artificial rotation, I want the torso and legs to move as one. So that when I'm done swiping my thumb on the right touchpad to rotate, my head will still be 20 degrees left of center. The only thing that should ever change the degree of change from center, is lifting the thumb off the pad.

sparr commented 5 years ago

@veryjos Perhaps as the controller approaches vertical, bias the "forward" vector toward the bottom of the controller?