def getTrans():
transT = cmds.getAttr(objB + ".translate") #gets translation from objB
currentFrame = cmds.currentTime(query=True) #gets current frame.
transBuffer[currentFrame] = transT[0] #adds the key:value for the frame:rotation
评论列表
文章目录