Maya Live Record Object



Mel Script:
//For movement
recordAttr -at "translate";
play - rec;


Mel Script:
//For rotation
string $curAngleUnits = `currentUnit -q -a`;
currentUnit -a rad; // Temporary set to radians
recordAttr -at "rotateX" -at "rotateY" -at "rotateZ";
play -record;
currentUnit -a ($curAngleUnits);

Comments