Message-ID: <000101be5107$ebf86ca0$90afccc2@d9a9a4> From: "Linxman" To: Subject: Re: 3D movement Date: Fri, 5 Feb 1999 00:34:22 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A9_01BE509F.46B769C0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_00A9_01BE509F.46B769C0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable -----Original Message----- From: Steve Axsom To: djgpp AT delorie DOT com Date: Thursday, February 04, 1999 7:28 AM Subject: 3D movement =20 =20 I'm making a 3d game in allegro. Can anybody tell me how to make an = airplanemove in the direction it's facing? THX =20 =20 = -Shane =20 You can use vectors (3d of course). For example to move an object by = a=20 vector do sth like this: obj_x +=3D vector_x obj_y +=3D vector_y obj_z +=3D vector_z =20 Read some tutorials on 3d math to find out more. =20 Bye =20 = -------------------------------------------------------------------------= ------------------- Daniel Mironowicz linxman AT polbox DOT com ICQ 21963276 = -------------------------------------------------------------------------= ------------------- ------=_NextPart_000_00A9_01BE509F.46B769C0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
 
-----Original = Message-----
From:=20 Steve Axsom <sssaxsom AT smithville DOT net>To:=20 djgpp AT delorie DOT com = <djgpp AT delorie DOT com>
Date:=20 Thursday, February 04, 1999 7:28 AM
Subject: 3D=20 movement

I'm making a 3d game in allegro. Can anybody = tell me how=20 to make an airplanemove in the direction it's facing? = THX
 
 
          &nbs= p;            = ;            =             &= nbsp;           &n= bsp;       =20 -Shane
 
You can use vectors (3d of course). For example=20 to move an object by a
vector do sth like this:
obj_x +=3D vector_x
obj_y +=3D vector_y
obj_z +=3D vector_z
 
Read some tutorials on 3d math to find out=20 more.
 
Bye
 
----------------------------------------------------------------= ----------------------------
Daniel=20 Mironowicz    linxman AT polbox DOT com
  =             &= nbsp;           &n= bsp;     =20 ICQ 21963276
----------------------------------------------------------------= ----------------------------
------=_NextPart_000_00A9_01BE509F.46B769C0--