(self, physics)
return self._is_close(physics.site_distance('ball', 'target_ball'))
Returns a reward for bringing the ball prop to the target.
Returns a reward for bringing the ball prop to the target.
Returns a reward for bringing the ball prop to the target .
def _ball_reward(self, physics):
    """Returns a reward for bringing the ball prop to the target."""
    return self._is_close(physics.site_distance('ball', 'target_ball'))
def _ball_reward ( self , physics ) : return self . _is_close ( physics . site_distance ( 'ball' , 'target_ball' ) )