This Godot 4 tutorial will teach you how to make your own simple curve based 3D tool for creating winding roads, generating racetracks or paths, great for prototyping simple racing games in Godot.
By the end of this video, you should have a good understanding of the basics of Godot 4.0's Path3D node, and how to use Godot's built-in Bézier curve tools to define a path for our racetrack or road to follow, and spawn objects procedurally along it.
Originally, I made this tool for my Marble Racing game prototype, but decided it needed a fresh test scene to showcase it. I was thinking of a Christmas snow globe, but ended up just going with a low poly house in a dome ^^.
This tutorial is made in Godot Engine 4.0 Beta 11, but the principles of how this was made should apply to any version.
Thanks for watching. And please let me know what you'd like to see next in the comments!
Beau
#gamedev #godotengine #tutorial
-----------------
Personal Links:
🐔 Twitter ⇛ [ Ссылка ]
📕 Reddit ⇛ [ Ссылка ]
-----------------
Shoutout Domekeeper (made with Godot!) | [ Ссылка ]
Shouter shader & spline goddess | [ Ссылка ]
Go support these Badman CC0 asset creators!:
[ Ссылка ]
[ Ссылка ]
[ Ссылка ]
-----------------
Timestamps:
0:00 Intro
0:47 Setting the Scene
1:04 The Path 3D Node
1:40 The CSGPolygon Node
2:04 Extruding around the Path
2:50 Adding Pavements
3:10 Material Quirks
3:45 Code: Spawning Procedural Objects around the Path
4:45 Code Results : Glowing bollards!
4:58 Other ideas & closing comments
-----------------
Godot Engine Logo Copyright (c) 2017 Andrea Calabró
This work is licensed under a Creative Commons Attribution 4.0 International License (CC-BY-4.0 International) [ Ссылка ].
Perilune & Leaving by AERØHEAD | [ Ссылка ]
Mood by Alex-Productions | [ Ссылка ]
Music promoted by [ Ссылка ]
Creative Commons Attribution-ShareAlike 3.0 Unported
[ Ссылка ]
------------------
![](https://i.ytimg.com/vi/4nOEVPjVmjc/maxresdefault.jpg)