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

    Parent scaled, Child rotate?

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 202 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 15/10/2006 at 15:39, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hello I am trying to control an Object in a hierarchy. I got almost everything figured out except when I put an object in a scaled object an rotate the child object it gets distorted.

      If anyone can give me some tips on how I can make the child object not distort     I would be very grateful!

      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 15/10/2006 at 16:37, xxxxxxxx wrote:

        This is called 'coordinate system skewing' and is a result of the way that matrices work. The rotation & scale in a matrix are stored in the same elements (the m.v1, v2, v3 vectors in C4D). This submatrix or these axis vectors also control shear/skew on an object.

        Skewing occurs on the children of non-uniformly scaled (NUS) parents because of the matrix multiplication affecting the child's coordinate system. That is, the parent's NUS is applied to the child's coordinate system which in turn introduces skewing of that system.

        One solution to this problem is to perform ALL scaling before doing any rotations and translations. By ALL, I mean for the entire scene graph.

        SoftImage NSU solution 1

        What is SoftImage Scaling?

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