When you aim-constrain a locator at the origin, it’s rotation values is (one of the possible) XYZ vector values.
Sorry, I’m talking garbage. When you aim constrain a locator at the origin, and offset a child of that locator by 1 unit in the direction of the target, it’s worldspace transform values is vector values. On 3 November 2014 10:03, Marcus Ottosson <[email protected]> wrote: > I dont know if i can constrain vectors. > > A vector is merely a point stuck at the origin with rotational > information. When you aim-constrain a locator at the origin, it’s rotation > values is (one of the possible) XYZ vector values. > > Its like an aim contstraint, but the object aiming will itself be > constrained to an axis > > If there are two points involved in an aim-constrain setup, Source and > Target, with Source pointing towards Target, are you saying that the Target > will also be constrained to something else? In that case, why not merely > constrain it that way? > > > On 3 November 2014 09:53, sam williams <[email protected]> wrote: > >> Yo Marcus, its not generic, i did it in photoshop and its very specific >> to this problem. vector one is rotating around its axis to point in the >> direction of vector two. I need to find the angle it rotates to. >> >> This is going to be part of a script that will calculate this particular >> rotation problem hundreds of times. to orient circles in the direction of >> another abitrary vector, but all the circles will be only able to rotate >> around a particular axis. Its like an aim contstraint, but the object >> aiming will itself be constrained to an axis. I dont know if i can >> constrain vectors. I was sure its some sort of dot/cross product type of >> combo. >> >> thanks, >> Sam >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Python Programming for Autodesk Maya" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/7bd832fc-7eae-422e-9900-9e37aa38bc11%40googlegroups.com >> <https://groups.google.com/d/msgid/python_inside_maya/7bd832fc-7eae-422e-9900-9e37aa38bc11%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > *Marcus Ottosson* > [email protected] > -- *Marcus Ottosson* [email protected] -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOB85xe4CU2DD%2BiXG1Ao7jkh%2BguXQqXrW3qvbJucNFprsw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
