Category : game-physics

I’m trying to calculate the minimum translation vector between a convex polygon and a concave polygon. Using Boost Geometry’s intersection method, I’ve successfully generated a new polygon that contains the overlap between the two shapes. Using this overlap, is it possible to calculate the minimum translation vector, so I can separate them? I’ve only seen ..

Read more