I'm developing a top down 2D tile based game. Recently I started working on collision detection and have gone down the route of simply using spatial partitioning.
Each object belongs in a cell and checks the neighbouring cells for collisions like this.
![enter image description here][1]
However, I realise I'm absolutely going to need to have some collision boxes that are bigger than a single cell.
Are there better algorithms for what I need or is there a simple work around I'm not seeing?
EDIT: multiple objects can be in a single cell at the same time. [1]: https://i.sstatic.net/8YPje.png