-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Performance with many physics objects #38
Labels
Comments
Thank you for opening this! |
This should be improved in |
That definitely helps! There are still issues with 50-100 balls but it is better. |
I'll keep this issue open, because there are other improvements I want to make. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed that after adding a dozen circles that collide the rendering slows down considerably. matter.js appears to be able to handle much more than this, so I don't think the problem is the underlying physics lib. It looks like it is caused by
useEntitiesAtPoint
doing a ton of matrix operations.Sample repo: https://github.com/ianobermiller/jezzball-in-hex
The text was updated successfully, but these errors were encountered: