Primitive collisionDetection (worked)