Added some initial implementation of SAT collision detection.