[Algorithms] interpolate between points in 3d space
Brought to you by:
vexxed72
From: Anceschi M. <anc...@li...> - 2000-07-21 06:56:34
|
Hi. I have a little problem in my 3D space game. When my ship "fire" from a cannon i use a new local axis for the new = object i'm firing , for calculate the next point of the laser. But this works bad, and i don't have much precision. So my question is: How can interpolate from 2 point in 3d? (x,y,z) and (x',y',z') (suppose the second is an enemy ship). =20 Thanks, =20 mauro =20 |