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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Animation - desperate questions

    SDK Help
    0
    3
    275
    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
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 31/07/2004 at 03:39, xxxxxxxx wrote:

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

      ---------
      I am totaly desperate...

      How can I put an Animation to an object in c++ ?!?
      E.G. I would like to put a Visible - in - Editor - Track to an Object - how does this work? How do I assign these parameters to the track when creating it?
      How can I set up the animation values in the keys?
      What role do Descriptions play in this game?

      And if anyone of you can answer this question, where did you learn it?!?

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 31/07/2004 at 16:25, xxxxxxxx wrote:

            
            
            BaseTrack* track = AllocDataTrack(obj, DescID(ID_BASEOBJECT_VISIBILITY_EDITOR));  
            BaseSequence* seq = track->AutoAddSequence(doc, BaseTime(0.0));  
            BaseKey* key = BaseKey::Alloc(Sdata);  
            key->GetDataInstance()->SetData(DATAKEY_VALUE, MODE_OFF);  
            seq->InsertKey(key);  
            obj->InsertTrack(track);
        

        How I learnt it? I asked the developers, since I couldn't figure the DATAKEY_VALUE part out; guess that means I should improve the docs a bit for next version... 🙂

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 01/08/2004 at 03:39, xxxxxxxx wrote:

          Thx for your quick answer.

          Would be a great deal adding a little info to the docs. They are good for Experts as a reference but newbies have some problems with 'em.

          Btw: Is there a way to access the "Enable" - Setting of an object via Animation without writing a plugin ?

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