How do I handle specific tile/object collisions?
- by Thomas William Cannady
What do I do after the bounding box test against a tile to determine whether there is a real collision against the contents of that tile? And if there is, how should I move the object in response to that collision?
I have a small object, and test for collisions against the tiles that each corner of it is on.
Here's my current code, which I run…