https://www.gameforce.blog/creating-a-spatial-query-system/