|
|
Warp <war### [at] tagpovrayorg> wrote:
> John Greenwood <nomail@nomail> wrote:
> > I want animate a move an object from <x1,y1,z1> to <x2,y2,z2> and i want the
> > object to face in the direction of movement.
>
> > Is there a simple function that will calculate the angles for the instruction
> > rotate<ax,ay,az> from the vector <x1-x2,y1-y2,z1-z2> ?
>
> Reorient_Trans() in transforms.inc.
>
> http://wiki.povray.org/content/Reference:Transforms.inc
>
> --
> - Warp
Thanks
John
Post a reply to this message
|
|