Encountering an unknown bug in SAT.collide() (Update: I think I found the issue)
See original GitHub issueI am trying to keep the tab open as I am not sure this bug is recreatable. I am using matter.js for the server later, so I am desperate to fix this issue.
The game was running smoothly and all of a sudden it broke. The error is coming from SAT.collide(). Specifically this line.
axes = [axisBodyA.axes[previousCollision.axisNumber]];
In my case, axisBodyA.axes only has 5 axes, but previousCollision.axisNumber is 5;
However, after some checking, other same type bodies are having 6 axes. All of them include the problematic body is a circle with 10 vertices. So somehow this body has reduced its’ number of axes.
Can anyone tell me what can cause this issue? Could it be because I did the Body.scale() to it?
backup screenshot: https://stabfish.io/dwUploads/matterjsbug.png
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Various bugs/issues collection (Over 100) :: Killing Floor 2 Bug Report
[MP] - Issue encountered during multiplayer online, unknown if present in ... Repro example: I sat inside a bot (Team Collision disabled as...
Read more >How to Find a Bug in Application? Tips and Tricks
Almost all the basic tips and tricks involved in the process of finding bugs is explained in detail in this article. You will...
Read more >VMD-L Mailing List
Re: Issue install VMD 1.9.3 Spack Axel Kohlmeyer (Mon Dec 05 2022 - 05:45:24 CST) ... Re: VMD installation on Mac OSx 11...
Read more >Step 3 Sample Test Questions - usmle
The following are strategies for answering one-best-answer questions (eg, Single Items, Multiple. Item Sets, and Sequential Item Sets):.
Read more >BIG-IP 16.1.2.1 Fixes and Known Issues - AskF5 - F5 Networks
Updates to bug information occur periodically. ... Assertion failed: load.get () == 0 ... There may be other as-yet unknown impacts for this...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@liabru Yes, the upgrading solved the issue, it works good.
Thanks for confirming, closing this as hopefully that means it’s solved.