BaseLink in class?



  • 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!



  • 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. ;P

    Need more emoticons...


Log in to reply