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

TestPhysicsCharacter spins Sinbad too fast #1026

Closed
stephengold opened this Issue Feb 21, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@stephengold
Copy link
Contributor

commented Feb 21, 2019

If jme3test.bullet.TestPhysicsCharacter is run without Vsync and one of the rotate keys (A, D, left-arrow, or right-arrow) is pressed, the character will spin too fast. This occurs because the rotation amount is coded as 0.02 radians per frame. Without Vsync, the application might run at 3,000 frames per second, producing a rotation rate of 9.6 revolutions per second.

@stephengold stephengold self-assigned this Feb 21, 2019

@stephengold stephengold added this to the v3.2.3 milestone Feb 21, 2019

stephengold added a commit that referenced this issue Feb 21, 2019

@stephengold

This comment has been minimized.

Copy link
Contributor Author

commented Feb 21, 2019

Fixed in master branch at 512b096 and recommended for the v3.2.3 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.