Align to spline using object matrix and spline pos



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



  • 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


Log in to reply