[gameprogrammer] Re: Math and Game question

Edlson,

Eu não entendi direito sua pergunta, se tiver um pouco de paciencia para me
explicar melhor, talvez eu possa ajuda-lo...

Abraços,

Rúben

On 1/14/07, Edilson Vasconcelos de Melo Junior <dirso@xxxxxxxxxxxxxxxxxx>
wrote:

 Hi,



I'm still working on my racing game and now I'm planning the (pseudo)AI.



That's what I have:

1)       10 check points (places) – each check is a rectangle defined by
two points (yes, just two points to make it easier, and when I combine its
values – x, y and z, I have check point)

2)       I run the race alone and store my car's position, orientation and
speed, once per 100 frames. (about 50 times per lap). I record the first and
the last frames of the lap. So I have information for one complete lap



Now what I wanna know is how could I check the AI current position and
with the given data (check points and store position/orientation/speed) make
the it keep moving in the right direction.

Note: Every check I'd do I should tell the IA car some drive commands like
(LEFT, RIGHT, THROTTLE, BREAK) and not "change" anything, just send the
drive commands.



Any ideas? Is this a math/quaternions question?



Thanks a lot,

Dirso.

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.10/624 - Release Date: 12/1/2007
14:04




--
Rúben Lício Reis

www.rubenlr.com.br
Linux user #433535
Linux because we are freedon.

Other related posts: