Race Car Controller Tutorial - Godot 3D

preview_player
Показать описание
In this Godot 4 3D tutorial we’ll be taking a look at the vehicle body node in Godot and exploring how it can help us create a complete racecar controller for a Godot racing game. This tutorial will include an overview of the settings for both VehicleBody and VehicleWheel nodes that can help you tune you car and suspension to your liking, as well as all of the code you would need to set up your car, and a walkthrough of creating a racing camera system with a follow camera. I'll be using my night city map I made for this tutorial using Kenney assets.

Assets:

If you use the car model that I used you will need to change the wheel origins in Blender to make sure that they are centered on the wheel meshes.
Рекомендации по теме
Комментарии
Автор

these nodes are seriously underrated. With your own code extending them, it's really easy to add realistic functionality like gears, tuning, brake bias, and it all "just works"

michaelavrie
Автор

you have no clue how long I have been looking for a tutorial like this, thanks a lot.

PsyRaf
Автор

I wanted to genuinely thank you for this. I'm very poor at programming so far, so the fact all tutorials were for Godot 3.x meant I ended up with broken code that I'm not experienced enough to fix.

I always watch your videos, but this one single-handedly got me back in to Godot. Thank you.

tristangillis
Автор

Awesome tutorial for cars in Godot 4, introduces the functions present within the engine that can then be tweaked by the dev. Keep up the great work.

OtherRath
Автор

This is a tutorial that's been desperately needed for Godot 4! Thank you! Most Vehicle Controller tutorials are pretty out of date by now.

lethn
Автор

Clicked on a whim, came out with really solid camera code. Good stuff man

BnaNaMastr
Автор

this is incredible. i think i can adjust this to make shopping carts in my grocery store game! thank you for this tutorial!

tjspeirs
Автор

This is in fact what I needed. Now, I'm not creating a car controller, in fact I want first person movement, but some things from this are applicable.
Since there aren't as many nuanced godot tutorials, you really always have to think out of the box and consider your closest approximation. But since we are creative problem solving, it's also not straight forward what nodes and functions to use at each point, so we need to find tutorials for things that are more common than the niche thing we want to achieve.

JayFolipurba
Автор

oh my god its finally here! ive been waiting 2 years for a tutorial like this! i fricking love you man!!!

Wonkabonka
Автор

Great tutorial. But, for some reason, my wheel nodes aren't repositioning themselves to the wheels on the mesh when creating them as children of the wheels like you did in 1:20
Just wondering if there's some setting I'm not seeing or whether I've done something wrong bc I still have to manually reposition them.

lukecoles
Автор

Great tutorial. Could you also please create a tutorial for a realistic car engine sound. and how best to replace controllers.

DarkCronnos
Автор

This is the best tutorial I was looking for, to creating a simple top down racing game

PauloCoghii
Автор

This is a really great tutorial here ! Exactly what I needed ! Thanks a lot :)

Just a small detail : about the center of gravity and camera pivot, I would prefer to use "Market3D" instead of a "Node3D" to get a better visualisation on editor's viewport.

Zekium
Автор

Fantastic tutorial!!! I think you should do a part 2 with an automatic transmission, if someone know about any tutorial that teaches it nicely, i'll be thankful

Lucas-ggyb
Автор

finally, found a great godot tutorial channel!! subscribed

aryantzh
Автор

Thank you very much; I switched from Unity to Godot, and after viewing this video, it helped me a lot.
Subscribed!

hta
Автор

This looks, acts and feels just like NFS Underground, I can’t wait to try this

DEFIANT
Автор

Great tutorial. Easy getting into driving in Godot :)

Akalabeth
Автор

i was searching for this exact content on many places and here you are maked a video thank you so much

greenclover
Автор

very nice tutorial, i was prototyping an idea of a arcade racer similar to both Burnout and San Francisco Rush (maybe Cruis'n' too), and i'm a bit too lazy to implement my own rigidbody3d vehicle lol so those nodes are really useful, will try my best to see which physics approach is more arcade-y and easy to implement (i'm thinking about making and releasing a simple but yet very entertaining game at first, and if it clicks, i'll do a much more worked on sequel)

PyterÁvila-vs