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

    BaseLink in class?

    Scheduled Pinned Locked Moved SDK Help
    2 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

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

      On 14/09/2007 at 15:56, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R8.2-R10 
      Platform:   Windows  ; Mac  ;  Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      I want to set up a list of classes on a plugin tag to represent a set of IK chains. In the class, there are two BaseLinks - one to the end-effector and another to the anchor (optional). When copying/reading/writing, is it required to call these explicitly with the other class data or will it be handled automatically?

      The basic structure would be like this (using a head and tail pointer for the IK Chain classes) :

      Plugin Tag
      ..IK Chain instance no.1
      ....BaseLink* endeffector
      ....BaseLink* anchor
      ..IK Chain instance no. 2
      ....BaseLink* endeffector
      ....BaseLink* anchor
      ...
      ..IK Chain instance no. n
      ....BaseLink* endeffector
      ....BaseLink* anchor

      Thanks!

      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 14/09/2007 at 16:29, xxxxxxxx wrote:

        Okay, nevermind. It would be more expedient to make a plugin tag and collect them on the other plugin tag. 😞

        Not a bad thing, just more tag overhead. 🙂

        Trying to design an IK system is not fun. 😜

        Need more emoticons...

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