driver_hydra icon indicating copy to clipboard operation
driver_hydra copied to clipboard

Lack of acceleration and velocity extrapolation breaks the ability to throw objects in Budget Cuts and The Lab.

Open Relys opened this issue 8 years ago • 2 comments

@betavr added acceleration and velocity extrapolation in the OSVR Hydra support he was working on before this official release: https://github.com/betavr/SteamVR-OSVR/commit/e66caea843254a48a456b8da6f16f3719fea076a Can we implement something like this so that these games are at least functional? Other than this one issue the driver works perfectly! Much smoother tracking compared to the OSVR implementation and all the buttons work too! :D Thanks so much for your support. I'm really glad I can purchase games and play on Steam with my Oculus DK2 and Razer Hydras as opposed to having to purchase new hardware. I <3 Valve! Thanks for being pro consumer and helping to open VR for everyone!

Relys avatar Apr 19 '16 05:04 Relys

Velocity is computed as a first-order difference, but it is disabled. With it enabled, throwing would probably work, but the position will be jumpier because of the position extrapolation in the driver.

https://github.com/ValveSoftware/driver_hydra/blob/master/drivers/driver_hydra/driver_hydra.cpp#L841

It looks like the work @betavr did was more sophisticated, and if he submits a pull request we'll definitely consider it.

bjj avatar Apr 19 '16 06:04 bjj

I fixed the buttons in the driver from BetaVR and also added a crouch button. The updated driver can be found here. Since BetaVR no longer supports the driver, let's now join forces in this repository.

Checked in games: Half-Life: Alyx, VRChat, PavlovVR. Everything works well.

r57zone avatar May 09 '20 22:05 r57zone