-
Notifications
You must be signed in to change notification settings - Fork 6
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
RC Test Friction 1.6.0-rc.1 - Using the Arrow keys or WASD makes the book move really fast #322
Comments
I see that in #321 you increased the dragging speed, but it is faster in phetsims/qa#886 than in the published version. I feel like this is affecting Voicing. When using ?printVoicingResponses, "Jiggling faster, warmer" appears in the console, but it is usually skipped over |
Confirmed, I also see it a little faster in master now compared to published. 446cb77 may have been done by inspection, Ill bet this can be fixed by just manually reducing the speed a little bit to match production. |
Yes indeed, it was empirically calculated. I tried to get it close. I wonder if there is another way to ensure it is identical. |
Anyone could work on this by just altering the velocities in FrictionKeyboardDragListener friction/js/friction/view/FrictionKeyboardDragListener.js Lines 27 to 28 in 56d8e71
|
Original paper trail: |
Over in phetsims/scenery#1530 @samreid and @matthew-blackman and I found that there was a bug that meant that the current friction dragging would be dependent on how fast of a machine you were running. Here, we can actually side-step that bug and just use dragVelocity, which we should have been doing over in #321 anyways. Updated above. @Matthew-Moore240 can you please confirm things are working better for you now on master? |
@Nancy-Salpepi it would be good if you wanted to double check on this too, because of your report in #322 (comment) |
The book is moving at a reasonable speed and Voicing is sounding much better with the change (and others) in master 🥳. |
|
This looks good in rc.3. Closing. |
Test device
Firefox 109.0 (64-bit)
Operating System
Windows 11
Browser
Firefox 109.0 (64-bit)
Problem description
The sim seems to be moving at super speed. Using a single press of WASD or Arrow Keys sends the book almost all the way to the top/bottom/left/right
Steps to reproduce
Visuals
These movements are all done with a single press of a direction.
2023-01-23.14-11-03.mp4
Troubleshooting information:
!!!!! DO NOT EDIT !!!!!
Name: Friction
URL: https://phet-dev.colorado.edu/html/friction/1.6.0-rc.1/phet/friction_all_phet.html
Version: 1.6.0-rc.1 2023-01-17 16:32:22 UTC
Features missing: touch
Flags: pixelRatioScaling
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Language: en-US
Window: 2048x1019
Pixel Ratio: 1.25/1
WebGL: WebGL 1.0
GLSL: WebGL GLSL ES 1.0
Vendor: Mozilla (ANGLE (NVIDIA, NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0))
Vertex: attribs: 16 varying: 30 uniform: 4095
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: