NVlabs / FPSci

Aim Training Experiments
Other
70 stars 23 forks source link

Small Targets may not be hittable #407

Open jspjutNV opened 1 year ago

jspjutNV commented 1 year ago

When a player space target is size 0.001 (and presumably smaller) the target becomes un-hittable. At this size, the target is too small to see at the default field of view, so the field of view needs to be set to ~10 degrees or smaller. Additionally, at the default sensitivity with 800-1000 DPI, the mouse can't always aim at the target, so for this testing I recommend lower sensitivity and/or setting the mouse DPI to a high value. I tried it at 19000 DPI since that was the max my mouse would do.

Here's a recommended target config for testing this.

        { 
            destSpace = "player"; 
            id = "static"; 
            speed = ( 0, 0 ); 
            visualSize = ( 0.001, 0.001 ); 
            eccH = ( 0.0, 0.0 );
            eccV = ( 0.0, 0.0 );
        }, 

And here's a session to test that target.


        { 
            description = "test small target"; 
            frameRate = 240; 
            id = "small_test"; 
            pretrialDuration = 0;
            horizontalFieldOfView = 10;
            trials = ( { count = 1; targetIds = ( "static"); } ); 
        }, 

Since the above target spawns under the cursor, you can easily test that it doesn't hit by not moving the mouse. If you want you can map the fire button to a key instead of the mouse and keep the mouse still. The issue appears related to the geometry being missed in the fire() call and not the aim being off from the user. It is possible that the aim of the fire ray is slightly off from the center of the aim, but I haven't found the root cause yet.

User @Daffa_Mafazi on twitter reported this issue (Thank you!).