Imagine a world with two bodies A and B that each have a circular fixture with radius r. Now imagine that body A has another circular fixture with radius 2*r, but using a subclass of ContactFilter we ensure that a collision always returns false if this large circle is involved.
Now, when I run a simulation B does not collide with the large circle as intended. However, when A and B collide, the collision takes into account this large circle (which should not collide with anything), meaning that A and B teleport away from each other until the edge of B meets up with the edge of this large circle instead of having the bodies come to rest near each other or naturally bounce off.
This is a simplified version of what's going on in my world, and I would like to know how to stop it. Thanks!
Now, when I run a simulation B does not collide with the large circle as intended. However, when A and B collide, the collision takes into account this large circle (which should not collide with anything), meaning that A and B teleport away from each other until the edge of B meets up with the edge of this large circle instead of having the bodies come to rest near each other or naturally bounce off.
This is a simplified version of what's going on in my world, and I would like to know how to stop it. Thanks!