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

Numerical instability builds up with rotational motion #4

Open
BKaperick opened this issue May 30, 2019 · 1 comment
Open

Numerical instability builds up with rotational motion #4

BKaperick opened this issue May 30, 2019 · 1 comment

Comments

@BKaperick
Copy link
Owner

Even without considering collision mechanics, an object that is moving both translationally and rotationally suffers from consistent deformation as its corners drift away from each other.

This is likely due to some kind of bug or additionally some numerical instability in the rotational updating.

Can currently be seen by setting GLOBALROTSPEED in physics.py to a small constant such as 1.0.

@BKaperick
Copy link
Owner Author

In low speed rotations, we see squares degrading into trapezoids, and cyclically returning to their original form. With high speed rotations (on the order of 10 or 100 rotational velocity) we see extreme degradations at each collision event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant