What is the "official" way of detecting what side a box collided with?
The code I have right now uses a combination of the world collision point and normals. It's worked for me, but it will fail if rotations/slopes are involved. If I were to address those special cases, it would be a little more work to figure that out.
The code I have right now uses a combination of the world collision point and normals. It's worked for me, but it will fail if rotations/slopes are involved. If I were to address those special cases, it would be a little more work to figure that out.