cannon.js
cannon.js copied to clipboard
Error in ConvexPolyherdron.clipAgainstHull
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).

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).