Headtracking Camera Jumping with XWAU 2020
Headtracking Camera Jumping with XWAU 2020
-
- Posts: 160
- Joined: Fri Mar 11, 2005 12:01 am
With the current XWAU implementation, whenever you press a button on a keyboard or controller, the camera pitch jumps down several degrees for a split second. I don't recall this being present when using the standalone 1.3.2 install using the prior release pack.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda
- blue_max
- Posts: 2296
- Joined: Wed Mar 20, 2019 5:12 am
There's no release 1.3.2 for the VR mod, did you mean release 1.1.3? Can you tell if the camera is re-centered when you press keys or just pitches down? Can you post a short clip of the problem?Luke_Skywalker wrote: ↑Mon Dec 07, 2020 5:36 pmWith the current XWAU implementation, whenever you press a button on a keyboard or controller, the camera pitch jumps down several degrees for a split second. I don't recall this being present when using the standalone 1.3.2 install using the prior release pack.
Silly question: Have you done the calibration of your headset in SteamVR?
Have you tried looking forwards and re-centering your view by pressing the period key twice?
- m0rgg
- Posts: 268
- Joined: Wed Apr 01, 2020 10:33 pm
I think this may be related to the new "fake head tracking" from the keyboard arrows.
I saw the same with the latest beta when the joystick emulation was enabled.
Maybe due to this?
https://github.com/Prof-Butts/xwa_ddraw ... 18f86dR625
I saw the same with the latest beta when the joystick emulation was enabled.
Maybe due to this?
https://github.com/Prof-Butts/xwa_ddraw ... 18f86dR625
-
- Posts: 160
- Joined: Fri Mar 11, 2005 12:01 am
I should point out that my case is TrackIR-related, not VR-related, but since this is max's domain I figured I'd post it here.
Incriminating video: https://www.youtube.com/watch?v=Ntalq-ctScU
It's not a case of not being centered or recalibrated- more like it's resetting to somewhere to or near the Y-axis zero whenever a button is pressed.
Incriminating video: https://www.youtube.com/watch?v=Ntalq-ctScU
It's not a case of not being centered or recalibrated- more like it's resetting to somewhere to or near the Y-axis zero whenever a button is pressed.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda
- blue_max
- Posts: 2296
- Joined: Wed Mar 20, 2019 5:12 am
If I remember correctly, the fake head tracking was for SteamVR, so I'm not sure it's related.
Is there a chance that your TrackIR profile may be mapping some keys to the re-center function? I believe the XWAU 2020 comes with a TrackIR profile as well, have you tried that?
Is there a chance that your TrackIR profile may be mapping some keys to the re-center function? I believe the XWAU 2020 comes with a TrackIR profile as well, have you tried that?
-
- Posts: 160
- Joined: Fri Mar 11, 2005 12:01 am
Well, for one my re-centering button isn't anywhere near what I press for XWA, so I know it isn't that. The software has a dedicated keybind that is whatever you map it to yourself, with the default being F12. It's also not actually re-centering here. TrackIR centers based on where you're looking, so if it was actually re-centering it would always be snapping back to 0,0 and then it would be offset to the point of silliness. Here it's just snapping to or just below the 0 point of the Y-axis and going right back, kind of like trying to use the padlock view with TrackIR enabled.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda
- blue_max
- Posts: 2296
- Joined: Wed Mar 20, 2019 5:12 am
Well, next silly question: did you press Scroll Lock before this, or are you enabling "Mouse Look" while using TrackIR? You're not supposed to enable mouse look with TrackIR, it should work without it.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda
-
- Posts: 160
- Joined: Fri Mar 11, 2005 12:01 am
I should also point out that if one simply sets headtracking to "None" without running the installer to disable it or the tracking camera is not turned on, the camera pitches upwards infinitely. Before it would just be offset by 20 or so degrees down and to the left.
Video here. https://youtu.be/4yQV9UMwZfY
I can move the camera side to side while it's pitching with both the keypad and mouse but it just keeps going. I can also center it, but it just starts again immediately on releasing Numpad 5.
Video here. https://youtu.be/4yQV9UMwZfY
I can move the camera side to side while it's pitching with both the keypad and mouse but it just keeps going. I can also center it, but it just starts again immediately on releasing Numpad 5.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda
- blue_max
- Posts: 2296
- Joined: Wed Mar 20, 2019 5:12 am
I have no idea what's going on. Setting "tracker_type = None" should stop the cockpit from rotating at all. Maybe you've got two hooks trying to control the mouse? Did you perhaps make a backup copy of Hook_CockpitLook.dll and left it in the same directory?
Have you downloaded the latest beta for the effects? It includes the latest version of Hook_CockpitLook.dll and you can reload TrackIR while flying by pressing Alt+T. You can try that as well to see if it helps.
Have you downloaded the latest beta for the effects? It includes the latest version of Hook_CockpitLook.dll and you can reload TrackIR while flying by pressing Alt+T. You can try that as well to see if it helps.
- blue_max
- Posts: 2296
- Joined: Wed Mar 20, 2019 5:12 am
Hey I just thought of something: what happens if you disable the Hook_CockpitLook.dll (just rename it to "Hook_CockpitLook.dl_") and then you enable mouse look (Scroll Lock)? Do you still get the spinning camera?
-
- Posts: 160
- Joined: Fri Mar 11, 2005 12:01 am
XWA doesn't launch if that hook can't be found, it seems. The latest beta (by Morgg, I'm assuming) gives me the same pitching as well, and the camera jumping is still there when TrackIR is working as it should. The only button that seems to be unaffected by this is the fire button/combo.
[EDIT] It's even jumping when TrackIR has been turned off via Alt-T...
[EDIT] Ran the configurator and deactivated head tracking. It's pitching uncontrollably again.
Last edited by Luke_Skywalker on Tue Dec 08, 2020 9:38 pm, edited 1 time in total.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda
- m0rgg
- Posts: 268
- Joined: Wed Apr 01, 2020 10:33 pm
My latest beta needs the hook indeed, and the improvement is only for SteamVR. Please use the previous one from blue_max
-
- Posts: 160
- Joined: Fri Mar 11, 2005 12:01 am
Okay. Using the 11-23 beta: Still pitches. Also pitches when disabled either manually or by using the configurator. Disabling the cockpitlook hook just has everything pitching. Still jumpy when pressing buttons, but doesn't appear to do any jumping while it's pitching. It's hard to tell, though.
Fuck, this is annoying.
Fuck, this is annoying.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda
-
- Posts: 160
- Joined: Fri Mar 11, 2005 12:01 am
GOT IT. Maybe. With my luck the problem will come back.
@m0rgg, this is for you, maybe. On a hunch I went into the joystick configurator and unbound my joystick's HAT buttons for cockpit look. The view immediately stopped pitching even with TrackIR off and the jumpiness stopped.
@m0rgg, this is for you, maybe. On a hunch I went into the joystick configurator and unbound my joystick's HAT buttons for cockpit look. The view immediately stopped pitching even with TrackIR off and the jumpiness stopped.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda
-
- Posts: 160
- Joined: Fri Mar 11, 2005 12:01 am
We're back to this nonsense though, where if maybe I decide I don't feel like messing with headtracking at that time and don't have the clip in view, I get this, where it's pitched down and not centered.
You do not have the required permissions to view the files attached to this post.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda
- blue_max
- Posts: 2296
- Joined: Wed Mar 20, 2019 5:12 am
Alright, then the problem is probably in the joystick hook. Try disabling that hook to see if your problems stop.Luke_Skywalker wrote: ↑Tue Dec 08, 2020 10:30 pmDisabling the cockpitlook hook just has everything pitching.
-
- Posts: 160
- Joined: Fri Mar 11, 2005 12:01 am
Check the spam after that post about the hook.
When 900 years old you reach, look as good, you will not. Hmm?" -Yoda
-
- Posts: 24
- Joined: Sat Oct 10, 2020 10:57 pm
Just reinstalled the game with all the updates and Trackir installed and activated. Now when I go into the game, it keeps spinning around. I tried to disable Hook_Joystick_FF.dll per the above suggestion and it still spins. I then disabled the trackir in the Babu config and still it spins. Does anyone have any suggestions?
See attached joystick config file.
See attached joystick config file.
You do not have the required permissions to view the files attached to this post.
- JeremyaFr
- Posts: 4002
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
Did you try to set Rudder Enabled to No in the in-game config menu?
-
- Posts: 24
- Joined: Sat Oct 10, 2020 10:57 pm
Darn. Such a simple answer to a confusing problem. Thanks. I never thought that was the issue. I had assumed that my CH Throttle Quadrant with 6 axis was the issue and I planned on disconnecting it this morning to see if I was right. However, your answer was spot on. Thanks for the quick reply and solution.