-
scripting animation
hello,
I’m working on a script which put keyframes at specific times.
It works with “position” and “scale” properties, but it creates only one keyframe (the first) for the “rotation” property…
Here is the concerned part of the script:[…]
valeurRotation = mySolid.property(“rotation”);
valeurRotation.setValueAtTime(0,[953,953,953]);
valeurRotation.setValueAtTime(2,[720,10,10]); –> doesn’t work (only one keyframe is created)
[…]Here is the same script with “scale” property (it works perfectly and creates 2 keyframes):
[…]
valeurEchelle = mySolid.property(“scale”);
valeurEchelle.setValueAtTime(0,[953,953,953]);
valeurEchelle.setValueAtTime(2,[720,10,10]);
[…]so… any idea on what’s wrong ? (I’m working on AE 6.5)
thanks,
_____________
Alex Martinez