Hi.
Working for a few weekends on a simple racer game now. Im sick of zombies atm...

Iam a big need for speed hot pursuit fan and try to get the feeling of those games, starting from scratch ( no NVidia PhysX used ).
![[Linked Image]](https://i.imgur.com/9PZDdu2.jpeg)
Framerate is locked to 60 (renders very fast).
For testing i use the hot pursuit tracks. It's very funny to prog on such great models.
![[Linked Image]](https://i.imgur.com/c0VSiex.jpeg)
The cars use a invisible, simple model for collision. The visible mesh is adjusted to the slope of the ground surface,
moved on hits/crashes etc. Its position is always smoothed to the invisible GLIDE-collision entity. Tires and exhaust are
single models. If the car is in the air, wheels are moved up and down (springs, only per axis atm).
Iam very happy about how stable the car movement is now. Please check out the video at the bottom of this post.
![[Linked Image]](https://i.imgur.com/XjbRD3u.jpeg)
Driving upwards slows down, downwards speeds up. Crash/bounce/push detected via c_trace's.
Extreme test (both models visible, box model works well atm. tested on blocks, terrains and models):
![[Linked Image]](https://i.imgur.com/LxM00k7.jpeg)
Each car can have unique values like: speed, steer speed, shift speed, rpm, grip, tire size, tire roll, NOS, turbo, spring size.......
Car models and values are stored in a struct.
The intern path system did not work for me so i came up with my own system. It came along very well i have to say.
Nodes are dynamic, can be moved and edited in realtime while entities using the path.
Node infos: current nr, next nr, radius, value1, value2, value3, value4.
Cars perform a stuck-check and can respawn at the last reached node position.
I made a nice little editor for the new path system:
https://youtu.be/62amlng-ciYEditor update (nodes connected with lines, now in red):
https://youtu.be/sHb90mSJefYWIP - enjoy
https://youtu.be/ax9g1cV8JMAUpdate minimap for player and each enemy, created from the the new path-nodes:
![[Linked Image]](https://i.imgur.com/gPViurB.jpeg)
Greets!