View Issue Details

IDProjectCategoryView StatusLast Update
0000199Medieval EngineersBugpublic2022-05-09 01:13
Reporterxaerthus Assigned Toequinox  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformWindows 
Product Version0.7.2 
Target Version0.7.3.968CF8Fixed in Version0.7.3.968CF8 
Summary0000199: Jittery crosshair dot after tabbing out or enabling free-look
Description

The crosshair dot tends to not stay in the middle of the screen and float around/follow camera motions with a delay after returning from being tabbed-out of the game, or after looking around sideways, using the Alt key (both in chairs and not).

This may be an issue directly connected to the free-looking feature being unlocked by Water Core, but i remember this happening even before Peaceman added that, when tabbing-out.

Steps To Reproduce

Method 1:

  1. Alt-Tab out of your game
  2. Alt-Tab back into it or regain focus in any other way
  3. Observe broken crosshair

Method 2:

  1. In game and with Water Core loaded, look around using Alt
  2. Observe broken crosshair

Fix Method:
Double tap V to reset view. On worlds with 3rd view disabled, single tapping it is enough.

TagsNo tags attached.

Activities

equinox

2022-04-11 22:39

administrator   #~0000139

So the jittering is actually working as intended. The detection component throttles itself to updating 10 times a second, so when the crosshair is jittery it means that the crosshair is being show at the true detected location instead being approximated as the center of the screen.

When you alt-tab your character actually gets a slightly different head yaw... somehow. And when you look around with alt using Water core you also get a head yaw. In both situations it's expected that the crosshair uses the "true" position instead of the approximate center of the screen.

That said currently it will start using the true position instead of the 2D screen position even if your head yaw is a tiny fraction of a degree (what happens when alt tabbing). That is fixable.

equinox

2022-04-11 23:05

administrator   #~0000140

An easy example of where the center of the screen is not where the detector is looking:

image.jpg (241,507 bytes)   
image.jpg (241,507 bytes)   

equinox

2022-04-12 16:26

administrator   #~0000150

This will be fixed by updating the position estimate every frame, which improves this significantly. The screen highlight will still only update at 10Hz.

Issue History

Date Modified Username Field Change
2022-04-10 07:12 xaerthus New Issue
2022-04-11 22:39 equinox Note Added: 0000139
2022-04-11 23:05 equinox Note Added: 0000140
2022-04-11 23:05 equinox File Added: image.jpg
2022-04-12 16:26 equinox Status new => in progress
2022-04-12 16:26 equinox Product Version => 0.7.2
2022-04-12 16:26 equinox Fixed in Version => 0.7.3.968CF8
2022-04-12 16:26 equinox Target Version => 0.7.3.968CF8
2022-04-12 16:26 equinox Note Added: 0000150
2022-04-12 16:26 equinox Assigned To => equinox
2022-04-12 16:26 equinox Status in progress => resolved
2022-04-12 16:26 equinox Resolution open => fixed