(self)
return (self.named.data.geom_xpos['target'] -
            self.named.data.geom_xpos['pointmass'])
Returns the vector from mass to target in global coordinate.
Returns the vector from mass to target in global coordinate.
Returns the vector from mass to target in global coordinate .
def mass_to_target(self):
    """Returns the vector from mass to target in global coordinate."""
    return (self.named.data.geom_xpos['target'] -
            self.named.data.geom_xpos['pointmass'])
def mass_to_target ( self ) : return ( self . named . data . geom_xpos [ 'target' ] - self . named . data . geom_xpos [ 'pointmass' ] )