box2d-optimized
box2d-optimized copied to clipboard
Implementation issues with TOI solver
There are some bugs in the reworked TOI implementation that make it not work correctly.
- It looks like bullet bodies work, at least to some extend, as can be found out by playing around with the "Add pair" testbed scene.
- Dynamic vs static isn't working. This can be seen in the "Platformer" testbed scene when compared to Box2d.
I need to fix these issues and investigate the correctness of the TOI implementation in general.
I found the Continuous test does not worked as original box2d too.
It looks like the CCD algorithm not worked correctly.
Here is the screenshot of two testbed:
- box2d-optimized:
- box2d: