|
|
Hi there,
I have a little problem with the rotation of an object.
I have 2 points, < x1 , y1 , z1 > and < x2 , y2 , z2 > , and an object at
the origin orientated in x-axis.
Now I want to rotate the object that way that it has the same direction that
the line from point 1 to point 2 has. The translation is done by other math,
I only need to rotate the object about origin.
I tried much with vnormalize() and so on, but the results never looked like
they should...
Thanks,
Nils
http://www.steini.de
Post a reply to this message
|
|