modify movingObstacle, crashWithObstacle