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

    Align to spline using object matrix and spline pos

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 287 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 01/01/2012 at 06:07, xxxxxxxx wrote:

      Can anyone show me 
      how to align an object to spline using that object matrixs and spline pos (as a percentage)

      relating to mograph clone

      I can get the clones matrix
      and the spline
      and position the clone on the spline (percentage) using splinehelp

      but cant figure how to align my clone to the spline

      ie take the clones matrix and use the vector gained from 
      spltanvec = c4d.utils.SplineHelp.GetTangent(shelp, pospercent)

      to align each clone on the spline
      or is this the wrong way to do it?

      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/01/2012 at 23:36, xxxxxxxx wrote:

        Discussion continued on CGSociety Maxon Coding.

        Thanks to Scott for the solution

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