Check collision in all directions