public void Aerial() { Action = BotAction.Aerial; Controller.Jump = true; Controller.Boost = true; Controller.Steer = Field.GetSteeringValueToward(Info, Ball.Location); Controller.Pitch = Field.GetPitchValueToward(Info, Ball.Location); if (Ball.Location.Z < GameValuesService.BallRadius * 3) { Action = BotAction.Default; Controller.Jump = false; Controller.Boost = false; Controller.Pitch = 0; } }