Closed hexus closed 7 years ago
Try adding heuristics for the square tiles too, as absurd as it might seem.
You'll probably need to allow returning the preferred separation axis from heuristics callbacks, to handle each edge case (literal edges... in this case... oh).
This is fixed for square tiles.
Let's see what we can do about slope seams next. Again, it only seems (hah) to affect bodies that are particularly small relative to the tile.
Covered most cases, but edge cases include entering and exiting square tiles at diagonals. This isn't really the right solution, but it helps. We can wait for 0.3.0 for the real fix.
This will do for now.
There's an issue with heuristics that skip collisions between tiles.
Small enough objects can slip between tiles, as seen here:
Reproduce and fix the hell out of it without touching SAT.js for the time being.
This is related to #36. Disabling heuristics fixes the issue so that's likely where the it lies.