Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/05/26 02:58
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Quad), 4,945 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
VTZ PhysX car AI #487244
02/18/23 09:57
02/18/23 09:57
Joined: Jun 2008
Posts: 56
Caucasus
VoroneTZ Offline OP
Junior Member
VoroneTZ  Offline OP
Junior Member

Joined: Jun 2008
Posts: 56
Caucasus
Hello!
Now i'm working at car AI with physX engine, and have some first results!
I never seen px car AI at AUM or at the forum and i'm glad to share it with you guys

AI drive thru the path and randomly turns on crossroads and stops near trafficlights and other cars (red debug vector and text)
also it slowdown near sharp turns (angle of turn calculate using next 4 path nodes (blue debug vector))

To get smooth steering i calculate bezier curve from car.x, node1 and node2 vectors (green debug vector)

Car models i made by myshelf (it is my first models!) using papercraft textures from this site eek laugh

You can check my project on GitHub!

[Linked Image]
[Linked Image]

Re: VTZ PhysX car AI [Re: VoroneTZ] #488830
07/25/25 07:45
07/25/25 07:45
Joined: Jun 2008
Posts: 56
Caucasus
VoroneTZ Offline OP
Junior Member
VoroneTZ  Offline OP
Junior Member

Joined: Jun 2008
Posts: 56
Caucasus
hello!
i tryed improve my code and make a simple race game, you can download it on my github

https://github.com/VoroneTZ/DoriftoSamurai


+ rival code
+ dynamic env map shader
+ car animation
+ dynamic traffic spawner


[Linked Image]

Last edited by VoroneTZ; 07/25/25 07:53.

Moderated by  HeelX, Spirit 

Gamestudio download | 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