Raycast vehicle using Jolt Physics Engine (Godot)

preview_player
Показать описание
I've migrated all the features of the custom physics vehicle I'm using in my game from the default Godot Physics to the Jolt Physics Engine.

It went pretty smoothly, basically everything worked without changing the code. Maybe some tiny details.

Here's a little demonstration.

Besides the physics, there's some particles and sounds.

Thank you for watching!
Рекомендации по теме
Комментарии
Автор

Some of the best Godot Vehicle Physics I've seen.

boom_fish_blocky
Автор

Bro modeled a cybertruck for the video

Kevinaya
Автор

I was literally trying forever to figure out how to do this sort of thing in Godot 😭

shindig
Автор

we gonna make it out to burn out 4 with this on 🗣🗣🗣 🔥🔥🔥🔥

Soroosh.S
Автор

nice! i just wanted to download Godot to try but thought to watch some videos first, just learned a bit of C++ on a Uni subject... i can use C++ right? chatgpt said yes anyway, but wait, why is the car leaning inwards when it turns? shouldn't it lean outwards?

ThickBrownCoffee
Автор

This is nice! Are you also able to have controlled drifting?
I landed on this video because I stumbled on the video about the Jolt Physics Engine (and that you can use it in Godot). I first started my racing game project in Godot, but had to abandon it because there wasn't much help to be found for car games. Initial setup with the VehicleNode was easy, but beyond basic controls, I didn't get any further with it. It was already not easy to get the car at the speed and weight that I wanted, so more advanced stuff like arcade style drifting seem(ed) impossible.
I also got some random collision problems, where my car would 'hit something' invisible and would send the car upwards (while there wasn't anything there). I got word that this was a common issue with Bullet physics, which Godot apparantly uses standard.
Is this Jolt Physics Engine working better for vehicle physics than the standard from Godot?

I'm more of a designer than a coder (can code just a bit), so it's a bit annoying not to be able to find decent tutorials that go beyond just a standard setup for the vehicle (tons of tutorials about those). Wish/hope someone would take racing tutorials a bit further, where you would end up with a car with more advanced features than just the standard drive and suspension.

eyeemotion
Автор

@thalesr awesome job dude, tried to implement many times, but with no success even with jolt, the suspensions makes the car always "dance" LOL, hope to see some tutorial, or any material on it! keep it up fella!

NonUnknownDev
Автор

Hello. Can you make a tutorial? It's incredible!

spectralo
Автор

Did you create the raycast debug / visualizer lines too?

OrbitalWedge
Автор

How did you (if you did) get the car to not slide down a slope? I’ve been struggling with that for days

flowapowa