Continuous Collision Detection (DEF-3115)

Yes, this issue is quite unfortunate.
The CCD already is enabled in Box2D (it’s on by default). EDIT: I since found that the flag “isBullet” currently defaults to false. (Added DEF-3118 for this)
Unfortunately, our tile grid shape has some flaws that makes it not work correctly with CCD. We are looking into ways of improving our implementation.

Note, however, that CCD doesn’t affect kinematic objects (which I presume your character is?). This is because you can at anytime teleport the object to be completely inside another object.

Here, again, it’s our tile grid collision shape that needs better contact/normal reporting in order for the resolve step to work correctly. I’ve created DEF-3115 for this.

One step towards better collision for dynamic objects vs tile grids, is coming in DEF-2956 (next sprint). But alas, it won’t solve the general case for kinematic objects.

8 Likes