Create collisionDetection