Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
0 registered members (), 1,012 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Car AI #235887
11/10/08 19:21
11/10/08 19:21
Joined: Jun 2008
Posts: 146
London
T
Truth Offline OP
Member
Truth  Offline OP
Member
T

Joined: Jun 2008
Posts: 146
London
Hi, i have been building a "GTA" style game for the past couple of months and cannot find any code to allow cars in my game to follow a path PROPERLY without getting stuck in the ground or in each others boundng box. I am currently using the "aiDumbiped" template to get them to move, i know this is only for bipeds but its the only way i can get the cars to follow a path. How can i get the cars to loop around a path?



Last edited by Truth; 11/10/08 19:28.
Re: Car AI [Re: Truth] #236293
11/13/08 12:42
11/13/08 12:42
Joined: May 2008
Posts: 301
Oxy Offline
Senior Member
Oxy  Offline
Senior Member

Joined: May 2008
Posts: 301
Before looking for a better pathfinding routine
work on this important part:

Make the car get stuck less likely.

Even a good patchroutine cant avoid to get into
"complex" area where collisions can occur.

Work on a routine to use traces to the sides and down, which
recognize the cars distance to an objestacle.
Then "push" the car way from it. (opposite vector to the trace direction).

This way you can make the cars aoid small gabs / other objects more easily, without
relying so much on a better pathfinding.

Best is to have the car alway a bit in the air, and not directly
collide with the ground.
(like a hovercraft).
The wheels should be passable, and only seem to be touching on the street.

This can even out a lot of problems with the underground.
The same goes for the distance to objects on the side. / in front

Last edited by Oxy; 11/13/08 12:44.
Re: Car AI [Re: Oxy] #236736
11/16/08 09:59
11/16/08 09:59
Joined: Oct 2008
Posts: 1
Banja Luka
M
Mking Offline
Guest
Mking  Offline
Guest
M

Joined: Oct 2008
Posts: 1
Banja Luka
What is pathfinding and how it is work?

Re: Car AI [Re: Mking] #242715
12/25/08 10:05
12/25/08 10:05
Joined: Dec 2008
Posts: 222
janerwac13 Offline
Member
janerwac13  Offline
Member

Joined: Dec 2008
Posts: 222
question: Can you mail me you cars or the website of your cars where you buy this cars?

Re: Car AI [Re: janerwac13] #243048
12/27/08 13:27
12/27/08 13:27
Joined: Jun 2008
Posts: 146
London
T
Truth Offline OP
Member
Truth  Offline OP
Member
T

Joined: Jun 2008
Posts: 146
London
Hi, they're from a website called Terminal26


www.terminal26.de

or you can click on downloads on this website and it is listed


Moderated by  HeelX, Spirit 

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