Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, Quad, 7th_zorro, Ayumi), 926 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
PhysX-based car and AI traffic cars #376802
07/06/11 20:05
07/06/11 20:05
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline OP
Serious User
painkiller  Offline OP
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
I want to contribute this as it might be helpful for some people. The code is commented and easy to understand. Includes:

-A PhysX car with proper parameters so it has a more realistic behavior. It has a 6-gear manual gearbox with speedometer and rpm-meter.
-AI traffic cars that follow path, reacts to stops signals, speed limit signals, traffic lights and other cars.

-Traffic signals models made by me, you can use them if you want
-Road models by Reiner “Tiles” Prokein

Move with arrow keys, toggle camera with c and shift gears with a and z



Download link: http://www.mediafire.com/?vts4cqlgjribi67

Last edited by painkiller; 07/06/11 20:06.

3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: PhysX-based car and AI traffic cars [Re: painkiller] #376817
07/06/11 20:45
07/06/11 20:45
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
I think it needs to be polished a bit, because the ai doesnīt react to me nor to the stop signs. My speedometer made 3 rounds and you can make music if you drive with 180 and change from 6 to 1 and back grin

But all in all itīs fun grin

Thanks laugh

BTW itīs really hard to steer the car


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: PhysX-based car and AI traffic cars [Re: alibaba] #376829
07/06/11 21:04
07/06/11 21:04
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline
Senior Member
Roel  Offline
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
It plays quite nice, the ai seems to stop at the stop signs, and I think the driving of the car isn't that hard.
however, I get a trackmania feeling: I can move trough the ai car like if it were a ghost.


Check out the throwing game here: The throwing game
Re: PhysX-based car and AI traffic cars [Re: Roel] #376833
07/06/11 21:30
07/06/11 21:30
Joined: Aug 2009
Posts: 1,438
Spain
painkiller Offline OP
Serious User
painkiller  Offline OP
Serious User

Joined: Aug 2009
Posts: 1,438
Spain
Originally Posted By: Roel
It plays quite nice, the ai seems to stop at the stop signs, and I think the driving of the car isn't that hard.
however, I get a trackmania feeling: I can move trough the ai car like if it were a ghost.


yes, that's because if they are rigid physics entities the player's car could get stuck into them


3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB
Re: PhysX-based car and AI traffic cars [Re: painkiller] #377287
07/11/11 19:34
07/11/11 19:34
Joined: Sep 2004
Posts: 178
J
jweb Offline
Member
jweb  Offline
Member
J

Joined: Sep 2004
Posts: 178
thx for share


Moderated by  adoado, checkbutton, mk_1, Perro 

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