Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    deformer or expression tag ?

    SDK Help
    0
    2
    187
    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 30/04/2008 at 12:51, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :

      ---------
      Hi,

      i wrote a small coffee expression that gives a spline some physics like gravity and friction and now i want to convert it to C++.

      Im not sure what kind of plugin to use though.

      I started with a tagPlugin and did the 'main-loop' in the Execute function.

      The spline doesnt update when i press play, but it changes when the init function is invoked = when i change parameters.
      When i use the draw function instead of execute to change the points, it changes all the time, not just during animation. (my addToExecution had EXECUTION_ANIMATION btw)

      Should i use another plugin type?

      The modifyObject-function of the objectClass looks like it could be what i need..

      thanks,
      cineast

      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 30/04/2008 at 13:38, xxxxxxxx wrote:

        i think im goin for the tag, deformer doesnt seem to be the right choice for me.

        I added a MSG_UPDATE to my execute now so the spline gets updated in the viewport.

        The only problem now is that it gets updated not only when i press play, but also when i move sth and so on..

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