Esempio n. 1
0
def getWorldRotMatrix( obj ):
	'''
	returns the world matrix for the given obj
	'''
	worldMatrix = Matrix( getAttr( '%s.worldMatrix' % obj ), 4 )
	worldMatrix.set_position( (0, 0, 0) )

	return worldMatrix
Esempio n. 2
0
def getLocalRotMatrix( obj ):
	'''
	returns the local matrix for the given obj
	'''
	localMatrix = Matrix( getAttr( '%s.matrix' % obj ), 4 )
	localMatrix.set_position( (0, 0, 0) )

	return localMatrix
Esempio n. 3
0
def getWorldRotMatrix(obj):
    '''
	returns the world matrix for the given obj
	'''
    worldMatrix = Matrix(getAttr('%s.worldMatrix' % obj), 4)
    worldMatrix.set_position((0, 0, 0))

    return worldMatrix
Esempio n. 4
0
def getLocalRotMatrix(obj):
    '''
	returns the local matrix for the given obj
	'''
    localMatrix = Matrix(getAttr('%s.matrix' % obj), 4)
    localMatrix.set_position((0, 0, 0))

    return localMatrix
Esempio n. 5
0
def getWorldRotMatrix(obj):
    """
	returns the world matrix for the given obj
	"""
    worldMatrix = Matrix(getAttr("%s.worldMatrix" % obj), 4)
    worldMatrix.set_position((0, 0, 0))

    return worldMatrix
Esempio n. 6
0
def getLocalRotMatrix(obj):
    """
	returns the local matrix for the given obj
	"""
    localMatrix = Matrix(getAttr("%s.matrix" % obj), 4)
    localMatrix.set_position((0, 0, 0))

    return localMatrix