Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Controller velocity fix #623

Closed
wants to merge 27 commits into from

Conversation

dnnkeeper
Copy link

Velocity is an important part of the GetPose data for games that relies on physics simulations such as The Lab and HL: Alyx. I managed to calculate velocity as derivative of positions and report it to the driver. Velocity is smoothed so it does not produce significant warping of the positions. AngularVelocity similarly.

Also there is some WIP FreePie sample for better controller agility in such games. GearVR users now can extend their 'arm' by dragging trackpad.

…rom interpolated delta position and rotation of the controller, ignoring data received from the client;

- Projects upgraded for VS2019;
Default fake values for controller;
NaN check added (in case of FreePIE mess up);
Added two-handed keyboard-mouse controller;
FOV increased, button to reset FOV added;
…o ControllerVelocityFix

# Conflicts:
#	alvr_server/alvr_server.cpp
MouseAndKeyboard script improved (F and G buttons to move left hand; inventory grab improved)
GearVR controller script update
No default controllers added in vr mode to allow using 3rd party controllers;
Encoder disabled in NoVR mode;
Little refactoring;
FakeVR optimizations (disable encoder, etc)
Update frequency limit for controller increased;
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants