RE: [Algorithms] Lots of problems...
Brought to you by:
vexxed72
From: Kevin L. <lac...@in...> - 2000-08-27 22:08:23
|
On Sat, 26 Aug 2000, dga wrote: > >First tranlate the object to the origin. Then perform the rotation. Then > >transform it back to where it was. > > If I posconcatenate the matrix, there is no need to do the translation to > the origin... The rotation is done before any other operation... At least, I > think so... > > >And for a stab at number four. This will depend on how smart you want > >the > >missle to bvehave. You could at every refresh have the missle rotate > >itself toward the current position of its target. Find the position of > >the > >two and use a cross product to find the angle. Then move the missle by > >some value in that direction. This assume a very smart missle. > Sorry, yes that should be dot product. > > Diogo de Andrade > > > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > http://lists.sourceforge.net/mailman/listinfo/gdalgorithms-list > -- |