tankCollision function