Пример #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
Пример #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
Пример #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
Пример #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
Пример #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
Пример #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