(self)
return mouth_to_target_global.dot(data.geom_xmat['mouth'].reshape(3, 3))
Returns a vector, from mouth to target in local coordinate of mouth.
Returns a vector, from mouth to target in local coordinate of mouth.
Returns a vector from mouth to target in local coordinate of mouth .
def mouth_to_target(self):
    """Returns a vector, from mouth to target in local coordinate of mouth."""
    data = self.named.data
    mouth_to_target_global = data.geom_xpos['target'] - data.geom_xpos['mouth']
    return mouth_to_target_global.dot(data.geom_xmat['mouth'].reshape(3, 3))
def mouth_to_target ( self ) : data = self . named . data mouth_to_target_global = data . geom_xpos [ 'target' ] - data . geom_xpos [ 'mouth' ] return mouth_to_target_global . dot ( data . geom_xmat [ 'mouth' ] . reshape ( 3 , 3 ) )