mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2025-03-04 08:31:49 +00:00
- added pitch adjust to offhand weapon
This commit is contained in:
parent
b0b7a36d46
commit
72feffbbef
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ void HandleInput_Default( int control_scheme, ovrInputStateGamepad *pFootTrackin
|
||||||
offhandoffset[2] = v[0];
|
offhandoffset[2] = v[0];
|
||||||
|
|
||||||
vec3_t rotation = {0};
|
vec3_t rotation = {0};
|
||||||
|
rotation[PITCH] = vr_weapon_pitchadjust;
|
||||||
QuatToYawPitchRoll(pOffTracking->HeadPose.Pose.Orientation, rotation, offhandangles);
|
QuatToYawPitchRoll(pOffTracking->HeadPose.Pose.Orientation, rotation, offhandangles);
|
||||||
|
|
||||||
if (vr_moveuseoffhand) {
|
if (vr_moveuseoffhand) {
|
||||||
|
|
Loading…
Reference in a new issue