direction 和hitBallLogic更新