-
Notifications
You must be signed in to change notification settings - Fork 2
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
Possible to get floating soccer balls #82
Comments
I've wondered if this might happen, but wasn't fast enough to make it happen on my own (and didn't know about the speed qp). I think this is a potentially strange issue if someone is just moving balls around and not trying to make it happen, so it would be helpful to think through a solution sooner rather than later, if possible. |
As a data point, I managed to reproduce this in phetsims/qa#795 without the speed parameter. |
Good discovery! @amanda-phet would you recommend investigation into this for the current milestone? |
I think we can keep this on the 1.1 milestone. |
@amanda-phet and @catherinecarter is the right kind of solution to investigate: when a ball is moved, detect if there are any floating soccer balls, and animate them to the ground? |
If there's a way to do that, your proposition seems best. We'd need to consider when there is a stack of floating balls like in the 2nd image above (two balls are stacked) and make sure to move the entire stack down. |
I have seen this bug more and more after recent refactorings. |
Fixed and ready for review. After reviewing and discussing the commits, let's reassign to @KatieWoe for testing. |
I'm still seeing problems on multikicks. |
The recent commits seem to help a lot. I also opened a side issue. Probably ready for review again? |
Today I got a floating soccer ball by dragging one from a stack while a ball was animating up the stack. Maybe also be tested in #188 |
There is some buggy behavior here, but I'm no longer able to get floating soccer balls. Continuing this in #188 |
@marlitas can this issue be closed? |
Closing as completed. |
Test device
Dell
Operating System
Win 11
Browser
Chrome
Problem description
For phetsims/qa#781. Seen when using
?speed=.1
but it may be possible, if hard, during normal use.When a soccer ball is about to land in a spot, dragging another on/off that spot as it lands can cause the positions to overlap, making it look like a ball is floating and/or missing. This requires precise timing and luck, even with the sim slowed down, so I'm not sure how likely it is during normal use.
Steps to reproduce
?speed=.1
Visuals
Troubleshooting information:
!!!!! DO NOT EDIT !!!!!
Name: Center and Spread
URL: https://phet-dev.colorado.edu/html/center-and-spread/1.0.0-dev.11/phet/center-and-spread_all_phet.html
Version: 1.0.0-dev.11 2022-03-07 01:50:02 UTC
Features missing: applicationcache, applicationcache, touch
Flags: pixelRatioScaling
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36
Language: en-US
Window: 1280x649
Pixel Ratio: 1.5/1
WebGL: WebGL 1.0 (OpenGL ES 2.0 Chromium)
GLSL: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
Vendor: WebKit (WebKit WebGL)
Vertex: attribs: 16 varying: 30 uniform: 4096
Texture: size: 16384 imageUnits: 16 (vertex: 16, combined: 32)
Max viewport: 32767x32767
OES_texture_float: true
Dependencies JSON: {}
The text was updated successfully, but these errors were encountered: