3D Race Game Test 1 - Godot 4.1
Вставка
- Опубліковано 21 сер 2024
- Prototype of a 3D Racing game coded in Godot 4.1. It features some cool effects such as skidmarks, drift smoke and car tilt.
The AI cars follows different paths throughout the race track. A very basic HUD is shown but is a work in progress, with some functionalities not ready yet. - Ігри
Wonderful job, I'm interested to see how you did your vehicle controller. I'm thinking sphere, but the jump is throwing me off a bit?
I used the sphere. For the jump ramp I used a raycast normal to the ground to check if the car is in the air. If the car is not on floor, then rotate the body in the z axis.
@@RNB-Games-Studio very cool, I've been trying to convert my 3.5 sphere controller to 4 but I haven't had a ton of luck. Do you have any suggestions on how to implement the sphere controller a bit better in 4.0?
My first attemp was on 3.5 and it was working fine. Then I migrate my code to 4.1. It was pretty much the same. I had to change the lerp functions because the syntaxis is a little bit different in 4.1 and nothing else tbh. The size of the sphere and the lenght of the raycast pointing to the ground are the keys to get a good arcade feeling