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

    Pos/Rot animation with generated objects

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 308 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

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

      On 08/10/2008 at 07:10, xxxxxxxx wrote:

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

      ---------
      Hi all,
      I've got a generator object plugin, which applies position and rotation keyframes (using CTrack/CCurve/DescIDs)to the objects it generates in 'GetVirtualObjects(...)'

      The objects are all appearing in the scene, but are not being animated. Positions seem to correspond to the last keyframe set.

      BUT, if I use 'Current State to Object', or the 'C' conversion keyboard shortcut on my generator object, the resulting converted object animates correctly - proving that the keyframes are actually there and have correct data.

      I've tried using 'AnimateObject()' on the generated hierarchy before returning it from 'GetVirtualObjects(...)', to make sure object is set to current document time and that doesn't seem to have any effect.

      Is there somewhere where I have to tell C4D that my generated objects have animation?

      Any suggestions welcome - I'm sure I'm missing something simple.

      Cheers - Steve

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

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

        On 15/10/2008 at 12:17, xxxxxxxx wrote:

        Anyone?

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

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

          On 16/10/2008 at 15:22, xxxxxxxx wrote:

          This will not work because these objects are virtual objects. You could maybe read out the values manually and set the object's parameters accordingly.

          cheers,
          Matthias

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