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

    rotation along the camera axis

    Scheduled Pinned Locked Moved SDK Help
    1 Posts 0 Posters 154 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 18/07/2007 at 03:19, xxxxxxxx wrote:

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

      ---------
      Hello,
      We are working on a plug-in in order to rotate objects on the scene along the camera axis rather than the normal rotation axis which are the object's ones.
      We've already tried the SetAxis() Quaternion's method and multiply the generated matrix by the initial global matrix of the object and then set the result as the new object's global matrix.
      It works as long as the angle between the object and the world axes related to the rotation remains null.
      e.g : for a rotation along the Z camera axis, we cannot set the H object angle to other value than 0.

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