@DavinCreed Yeah, I'm surprised there isn't more resources about it. Especially for rotated box to box collision.
I guess the hard part when doing arbritrary convex polygons is computing the Minkoswki difference (finding the closest point on the boundary is easy by walking around the boundary and projecting, computing the determinant also allows to easily determine whether there is a collision or not). It's probably something like you take you shape A and translate it over the boundary of shape B, but then you need to fing the “exterior” vertice. How do you do that efficiently ?
↧
Basic physics
↧