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

[question] how does one test that the PhysicsEngine has converged? #500

Open
CompSciFutures opened this issue Oct 11, 2015 · 0 comments
Open

Comments

@CompSciFutures
Copy link

The PhysicsEngine is super neat, but for many situations one doesn't need to keep using an onUpdate() + PhysicsEngine.update() loop after a while and when one has a few of them going they start to bog down the browser a bit.

As an example use case, once a widget has collided/bounced/whatevered its way into place then I would like to temporarily disable that simulation to avoid unnecessarily eating CPU and generating infinitesimally small transformation changes.

Has anyone worked out a way to test if a particular instance of a PhysicsEngine has converged WRT some epsilon?

Obviously there are certain configurations where the PhysicsEngine won't ever converge.

ap

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