Bone length ambiguity



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

    On 31/10/2010 at 15:25, xxxxxxxx wrote:

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

    ---------
    Under the Object properties for joints, there is a bone length field, with styles such as "From Parent" and
    "To Child".  I understand "From Parent", but how is "To Child" calculated, since a joint can have multiple descendants?
    I'm asking because the JointRestState struct has a m_Len variable for the "bone rest length". 
    However, this value doesn't appear to be "From Parent", but "To Child".
    I don't suppose there is a way to tell the C++ or Melange SDK to use "From Parent" values instead of "To Child" ?
    Because "To Child" is very ambiguous to me.
    Or is there some function to get the C++/Melange SDK to calculate the value for me?



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

    On 03/11/2010 at 04:47, xxxxxxxx wrote:

    "To Child" uses the distance to the first child of the joint for the bone length.

    cheers,
    Matthias


Log in to reply