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

    Bone length ambiguity

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 160 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 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?

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

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