InterpolateKey?
21-Mar-95 17:33:21
Sb: #160052-InterpolateKey?
Fm: Alden V. Holmes 75717,754
To: Jonas Ruikis [ADESK] 73172,1351
Jonas,
>> I get the same results here. <<
Thanks for … well … reassuring me that it's not just me. Actually, this
doesn't even touch on my original problem with InterpolateKey. It seems very
simple and I've been able repeat it but not explain it.
I have two dummy objects located at 0,0,0. Dummy01 has only rotation keys, 0
at frame 0 and 360 at frame 60 (around the z-axis in K3D). Dummy02 just sits
there. In Keyscripter, I use GetKey (for Dummy01) and CreateKey (for Dummy02)
to duplicate the rotation of Dummy01 to Dummy02. Then I use InterpolateKey
(rotation) at each frames for both objects and print the angle and axis info.
Dummy01 gives me what I expected, incrementing from 0 to 360 over the 60
frames. But, Dummy02 does some strange stuff! From frame 0 to 30, it mirrors
Dummy01. From there, it increases to an angle of 193.3333 at frame 35, then
decreases to 180 at frame 45, and finally increases to 360 at frame 60. I've
checked the two object in the keyframer to verify the rotations are the same,
and they are. As a matter of fact, if I playback the 60 frames, the two
objects just sit there and spin together. I just don't understand.
I've got the very simplistic mesh file with the script (again very simplistic)
embedded in it if anyone cares to point me in the right direction.