def configure(self, intercept: AerialIntercept):
    ball = intercept.ball
    target_direction = ground_direction(ball, self.target)
    hit_dir = direction(ball.velocity, (target_direction * 4000))
    self.arrive.target = (intercept.ground_pos - (ground(hit_dir) * 130))
    self.aerial.target = (intercept.ball.position - (ground(hit_dir) * 130))
    self.arrive.time = intercept.time
    self.aerial.arrival_time = intercept.time
def configure(self, intercept: AerialIntercept):
    ball = intercept.ball
    target_direction = ground_direction(ball, self.target)
    hit_dir = direction(ball.velocity, (target_direction * 4000))
    self.arrive.target = (intercept.ground_pos - (ground(hit_dir) * 130))
    self.aerial.target = (intercept.ball.position - (ground(hit_dir) * 130))
    self.arrive.time = intercept.time
    self.aerial.arrival_time = intercept.time