#Keyframer/Insert Editing
13-Jun-95 07:05:41
Sb: #175072-#Keyframer/Insert Editing
Fm: Larry Minton 74010,3076
To: Robert C. Ritger 73041,3173
Actually I think one of the scripts that came with 3ds might do it
automatically. I think there was/is an acceleration/deacceleration routine
somewhere that would do it.
Providing that one isn't available, I would:
1) pick object to create keys on all frames for
2) get number of frames
3) get number of keys for object
4) create array to hold object position for each frame
5) do an InterpolateKey on object for each frame, storing position in array
6) do a CreateKey on object for each frame from position stored in array
The reason for storing the positions in the array, rather than just creating
the key, is to make sure that by adding keys you don't cause unintended motion
of the object in later frames.
See, no problem <g>.
LAM