cannon.js icon indicating copy to clipboard operation
cannon.js copied to clipboard

Error in ConvexPolyherdron.clipAgainstHull

Open hybridherbst opened this issue 3 years ago • 0 comments

We're randomly getting errors in clipAgainstHull. These are unfortunately not deterministic (sometimes it happens, on other runs it doesn't happen) and it's unclear which objects cause this (testing them 1 by 1 / in pairs did not lead to the error).

Still posting here because it's kind of annoying (now had to put a try..catch around the entire physics step which feels wrong).

image image

Only related issue seems to be #217 which is caused by incorrect user data, but I believe this is correct here (and the error is thrown on a length check).

hybridherbst avatar Jul 26 '22 09:07 hybridherbst