Implemented a new collision engine, supporting a grid based highly performant collision detector.