|
![](/i/fill.gif) |
For those who are curious, here's how I ended up doing this. The object to
be rotated is centered on the origin, and lies along the positive y-axis in
an "up" direction. The surface normal to be aligned to is stored as a
vector called Norm.
Reorient_Trans(<0,1,0>, <Norm.x, Norm.y, Norm.z>)
Thats it, nice and simple :P All the hard work was done by the author of
the macro.
--
Doug Eichenberg
www.getinfo.net/douge
dou### [at] nls net
Post a reply to this message
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Sat, 02 Aug 2003 10:42:38 -0700, Doug Eichenberg wrote:
>For those who are curious, here's how I ended up doing this. The object to
>be rotated is centered on the origin, and lies along the positive y-axis in
>an "up" direction. The surface normal to be aligned to is stored as a
>vector called Norm.
>
>Reorient_Trans(<0,1,0>, <Norm.x, Norm.y, Norm.z>)
>
>Thats it, nice and simple :P All the hard work was done by the author of
>the macro.
Doug, you could even write it like this:
Reorient_Trans(y, Norm)
Tor Olav
Post a reply to this message
|
![](/i/fill.gif) |