put triggerDistance into Obstacle