|
![](/i/fill.gif) |
I have a similar problem.
I want to have an object with its tail at <0,0,0> and its nose at a
given <x,y,z>. I want to create it colinear with the X axis and simply
rotate it to be colinear with the <x,y,z> vector.
I've stumped myself on the math for this. How do I do this?
I tried with no success
rotate <0,atan2(z,x)/2/pi*360,atan2(y,x)/2/pi*360>
Thanks for any help.
Post a reply to this message
|
![](/i/fill.gif) |