R13 GetOptimalAngle(vA,vB,3rd arg)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/09/2011 at 16:12, xxxxxxxx wrote:

    The R12 GetOptimalAngle(vectorA , vectorB), is changed.
    It now need a 3:rd argument, rotation order, to run (no legacy mode)
    R13 is:
    GetOptimalAngle(vectorA , vectorB, c4d.ROTATIONORDER_XYZGLOBAL)
    I haven't checked if the vectors are swapped as in the HPBToMatrix()

    (Again, are we sure the swapped x and y vectors in HPBToMatrix() are correct and not a bug?)

    Cheers
    Lennart


Log in to reply