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

    How work AnimateObject(...) ?

    SDK Help
    0
    2
    177
    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 01/06/2004 at 01:13, xxxxxxxx wrote:

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

      ---------
      Hi.

      I try to implement a fast forward/rewind function in my plugin (jumping in the time line).
      In this case must the plugin ask some needed animated parameters of objects/tags etc. on every frame of animation.

      I tried it with BaseDocument* AnimateObject(...) function, but it does't work. Because the animated parameters update the only then, when my plugin-code was executed to the end.

      Now an ask: how work the AnimateObject function and how is possible to get a animated parameter on every frame of animation?

      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 08/06/2004 at 04:59, xxxxxxxx wrote:

        I couldn't confirm this malfunction of BaseDocument::AnimateObject(). The following code successfully printed the X coordinate of an animated object at the two times:

            
            
            BaseObject* obj = doc->GetFirstObject();
            
            
            
            
            doc->AnimateObject(obj, BaseTime(1.0), 0);  
            GePrint(RealToString(obj->GetPos().x));
            
            
            
            
            doc->AnimateObject(obj, BaseTime(2.0), 0);  
            GePrint(RealToString(obj->GetPos().x));
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post