Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login
    The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.

    Linear Animation [SOLVED]

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 234 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

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

          Thank you very much !

          1 Reply Last reply Reply Quote 0
          • First post
            Last post