Gistix / portal2vr

Portal 2 VR Mod
761 stars 21 forks source link

Move interactions from HMD to controller #48

Open Lionmeow opened 1 year ago

Lionmeow commented 1 year ago

Currently, interactions come exclusively from where the player is facing. This means that, even if your portal gun is pointed directly at a prop or a button, nothing will happen when you interact if you are not looking directly at said prop/button. A theoretically simple fix to this would be to change interactions so that they're raycast from the controller.

lilliepad1 commented 1 year ago

bump.

this would fix the glitch in Portal Stories: Mel where the gun's position in VR is desynced with the gun's cursor

PetterWolff commented 1 year ago

Unlinking the HMD and controller would be desirable indeed. Would probably fix the problem of the light bridge in 18 as well for most people (I had to go here to understand that it mattered where I point the HMD as well when aiming).