Position correction doesn't work as expected in Circle vs Polygon collision
victorfisac opened this issue · comments
Polygons and circles doesn't overlap between bodies of the same type. But as you can see in the attached screenshot, some circles overlaps with the rectangle (which is a polygon too) and doesn't correct its position during steps...
I think there is some bug in manifold penetration calculation, or maybe some condition which returns the function and doesn't let the program execute position correction instructions.
Review functions: SolveCircleToPolygon(), SolvePolygonToCircle(), CorrectPhysicsPolsitions()
Fixed in commit: 8937b34