This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymel.core as pm | |
# Helper methods | |
def debug(message): | |
print("DEBUG: %s" % message) | |
# Average between 2 nodes | |
def averageBetween(a, b): | |
return matrixLinearBetween(a, b, 0.5) |