Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how to make ai turn while chase #288590
09/07/09 14:48
09/07/09 14:48
Joined: Jun 2009
Posts: 10
ina
P
peank Offline OP
Newbie
peank  Offline OP
Newbie
P

Joined: Jun 2009
Posts: 10
ina
hi there...i've created an ai that can move and chase player but when there's a wall in front of it it stuck, all i want to know is how to make ai turn while chasing player and didn't stuck on wall....,hehehe...thanks

Re: how to make ai turn while chase [Re: peank] #288596
09/07/09 14:52
09/07/09 14:52
Joined: Nov 2008
Posts: 946
T
the_clown Offline
User
the_clown  Offline
User
T

Joined: Nov 2008
Posts: 946
Pathfinding.
Or Poor Mans Obstacle Avoidance.
Whats this?
Well, Poor Mans Obstacle Avoidance can be found in some of the AUMS. It basicly works like that:
You constantly check the front of the enemy by using c_trace.
If the trace hits a wall in a certain distance, you add some pan to the enemies angle.
Thats how it basicly works, check the AUMS for details.
Or get yourself into pathfinding, but thats much more difficult.

Re: how to make ai turn while chase [Re: the_clown] #288597
09/07/09 14:56
09/07/09 14:56
Joined: Jun 2009
Posts: 10
ina
P
peank Offline OP
Newbie
peank  Offline OP
Newbie
P

Joined: Jun 2009
Posts: 10
ina
gee thank's, i'll check out


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1