Game Development Community

Adding Z Co-Ord to AIPlayer::getAIMove

by Kimberly Unger · in Torque Game Engine · 06/03/2004 (6:56 am) · 68 replies

I need to add vertical (z-coordinate) to getAIMove. What I need is someplace that explains the algorithm (math) used in the function. Can anyone out there point me to somewhere that has this information?

Kim's Programmer Jim
Page«First 1 2 3 4 Next»
#61
09/20/2004 (3:12 am)
Hello i have put the mod for this flying drone in and given the warsparrow the followpath movetonextnode and move to node. unfortunatly when i call the follow path function it flys to the start node then no further even if the index is changed. if someone could help please do.
p.s thank you

p.p.s how would yo change the speed setmovespeed doesnt seem to work
#62
09/20/2004 (4:10 am)
Sorry its sorted thank you
#63
09/22/2004 (2:26 am)
David: which mod are you talking about?
#64
03/04/2005 (9:02 am)
Quote:Ok. Here is the link to the zipped up files needed. Read the aiFlight.doc for instructions. I'll await feedback here before I offer as a resource to GG.

Thanks to all whose efforts made it possible.

Enjoy

Does this resource require an AIPlayer to mount the aiflyingvehicle?
#65
03/04/2005 (12:23 pm)
No AiPlayer is needed. Nothing mounts onto the flying vehicle.
#66
03/04/2005 (5:23 pm)
@Anders,

I compiled all the info in This Resource.

It uses part of Wendell's stuff and uses a normal vehicle AND a mounted AIplayer instead.
#67
11/25/2007 (2:22 am)
Hello everybody,
I hanged in critical problem, my AIPlayer is not moving on Z-axis.I tried too much in aiPlayer.cc file about getAIMove(), but i did not get expected result.How will i solve this problem ?Can anyone help me?
#68
11/25/2007 (6:43 am)
Hello Ryan,

Thanks for posting on the forum.
Follow the link in my previous post (Mar 2005). This will lead you to a better compilation of the flight problem.
You'll need the simple flight solution.

For the player to fly, you'll need the setAIMLocation to help pointing the Z-axis. If you had already implemented the simple flight, try using setAIMLocation to point where your AIPlayer should move.
Page«First 1 2 3 4 Next»