Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Akow), 1,361 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 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