CollisionSpace implements collision checking functions.