When connecting attribute to attribute, sometimes you'll see Maya introduce a
Maya nodes internally work in 'internal units', and by default these are:
When you connect node to node, you're connecting based on the internal units: When you connect nodeA.rx -> multiplyDivide.inputX, it's connecting a radian attribute to a (in this case) 'degree attribute'. And for the values to read correctly, it needs to mutiply them by some value. What are those conversion values anyway? (Google will back me up)
If you go into Maya's preferences and change your angular units to radians and redo the above connections, no
unitConversion
node. For the longest time (until today, using Maya 2013) I've always wondered why this is. For example, if I do this connection:- nodeA.rx -> multiplyDivide.inputX
- multiplyDivide.outputX -> nodeB.rx
- nodeA.rx -> unitConversionA -> multiplyDivide.inputX
- multiplyDivide.outputX -> unitConversionA -> nodeB.rx
unitConversion
nodes would be:- unitConversionA = 57.296
- unitConversionB = 0.017
Maya nodes internally work in 'internal units', and by default these are:
- Linear : cm
- Angular: radian
- Linear : cm
- Angular : degrees
When you connect node to node, you're connecting based on the internal units: When you connect nodeA.rx -> multiplyDivide.inputX, it's connecting a radian attribute to a (in this case) 'degree attribute'. And for the values to read correctly, it needs to mutiply them by some value. What are those conversion values anyway? (Google will back me up)
- Radian to degrees: 57.296
- Degree to radian: 0.017
If you go into Maya's preferences and change your angular units to radians and redo the above connections, no
unitConversion
nodes will be generated, since the 'internal units' and 'ui units' are now the same.