Collision detection of player larger than clipping tile
- by user1306322
I want to know how to check for collisions efficiently in case where the player's box is larger than a map tile.
On the left is my usual case where I make 8 checks against every surrounding tile, but with the right one it would be much more inefficient.
(picture of two cases: on the left is the simple case, on the right is the one I need help with)
http://i.stack.imgur.com/k7q0l.png
How should I handle the right case?