Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small Targets may not be hittable #407

Open
jspjutNV opened this issue Jan 5, 2023 · 0 comments
Open

Small Targets may not be hittable #407

jspjutNV opened this issue Jan 5, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jspjutNV
Copy link
Contributor

jspjutNV commented Jan 5, 2023

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!).

@jspjutNV jspjutNV added the bug Something isn't working label Jan 5, 2023
@jspjutNV jspjutNV added this to the Later Release (2023) milestone Jan 5, 2023
@jspjutNV jspjutNV self-assigned this Jan 5, 2023
@jspjutNV jspjutNV added this to To Do in Issue Tracking via automation Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant