Linear Animation [SOLVED]



  • On 27/10/2015 at 08:30, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   17 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hello.

    I have created an object with animated Position.
    I use 2 keyframes (0 and 50).

    How can i have linear transition from frame to frame ?

    Thank you.



  • On 28/10/2015 at 04:04, xxxxxxxx wrote:

    Hello,

    to set the interpolation of a keyframe to the next one you can use Ckey::SetInterpolation().

    To get the key you have to access the animation track with FindCTrack() and you have to get the curve with GetCurve(). Then you can access the keys of that curve.

    Best wishes,
    Sebastian



  • On 29/10/2015 at 01:54, xxxxxxxx wrote:

    Thank you very much !


Log in to reply