create account

How to Make Roads in Godot -- The Gnar World Mini-Devlog #8 by web-gnar

View this thread on: hive.blogpeakd.comecency.com
· @web-gnar · (edited)
$8.39
How to Make Roads in Godot -- The Gnar World Mini-Devlog #8
ok so i need to learn how to make roads from scratch. copy and pasting is fine, but its bad practice. so im going to document how to do that so that i remember, and if anyone wants to build a road in godot they can maybe use this for help.
1. Make a node3d (just a 3d point in 3d space. a idea in 3d space)

then, nest a Path3d node. 

![Screenshot 2025-01-13 at 8.18.20 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/Eopts9b4KGU5g8CvWnFFA6TSZbP9Rs9HtRTQ6PWqRfP7oGmq2opNDbr6Z5kHJ2HyQwa.png)
 the beach district is a node 3d as well. you can see "bg" is also a node 3d. bg is where all the background houses will go and other landscaping background doodads.

so im adding a Node 3d calling it STREET and then adding a path3d inside of street.


![Screenshot 2025-01-13 at 8.24.45 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/48PxEieJLDPPcnZ4DDDfQKcFf3wPg6Xsotnf4XyMJTNyVCjtLK6S8AmymyVgeNe16R.png)
theres gonna be a lot of sand in this tutorial so get ready to look at lots of pixelated sand. 
so now. the hardest part for a noob to figure out.
on the right side of the screen, you click here:

![Screenshot 2025-01-13 at 8.26.15 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/Ep5oe5vKQ4qQRcFzGWcehXn38E8MAycf8UuoCgtyY2xJdQzYYz3RVxk7WxpE4PKjyxr.png)
which is extreamly unintuitive, in my opinion, to store the next step of using the path3d which is placing the points of the path. you click that... button? and it expands to show the points.


![Screenshot 2025-01-13 at 8.28.23 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/23xA1tmNfbs7sTsSpHagiA8xtoUrZUWFmRf8VoVWVGfQYrKRTEPyuoNuirZKz9ZK8wKVt.png)

clicking add element creates a point.

![Screenshot 2025-01-13 at 8.32.19 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/23tSz8Fcs8qokzXioEGwc6kAfv15ySuYdLtqSe2XEBtSPNikLBfJVRjpYaketzeZbgHzH.png)
click add element again to create another point right on top of the first one and then move it along the z axis.

be careful not to move the gizmo when you have STREET node on the left selected.

![Screenshot 2025-01-13 at 8.33.19 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/241QdxubqBpKb4tC9BM2LTXdwGXfeQjuqqVuyLTPrZnvMiJHciYwZJUzLtrABLwyVEmho.png)

![Screenshot 2025-01-13 at 8.36.52 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/23wqnx3H9cSR1bQ85GTidzWfpuGSv1GiZ8TwSv4yToGwpBLuVuLxodZzsuhPn8E5RWyYt.png)
that is the path, its straight with 4 points in it. 

now on the STREET node, because thats the main information package im working with, which has the path3d information packet attached to it we just made, i am going to add a CSGpolygon3D node.
![Screenshot 2025-01-13 at 8.38.09 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/Eo1vv3H9wipewQuBDhj99jmQSJVGMmEE13WGP9cPi7fXM6oP1J67h8B9NMtePzpDutM.png)


![Screenshot 2025-01-13 at 8.41.17 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/Ep1XTkERfZxyAYKQryjCMUYCu9AkrgtmJhmgzE9um3UMhgr115TL5eGZX2H6X1SYxqn.png)

click the hidden secret button that i guess all nodes have... to bring down the dropdown to control the points of the 2d shape you want to make.
![Screenshot 2025-01-13 at 8.42.05 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/244xqYKzMjCckrxKfTPfS3VMvaK6NQVJwm5BipMCRPkSfg68CEJ7BndWtWrpACgioCGxo.png)


now click Mode (Depth) -> Path
![Screenshot 2025-01-13 at 8.46.01 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/EpxrCsZoiY74kZQS37H8hZX2VixJPsXf5FDtAozB8TKkE6TbUCQRyf9aU3pCrrSQEY2.png)

then click assign and find the one you want


![Screenshot 2025-01-13 at 8.47.39 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/23xKvR63xMbW1uMYzgL52dyEbvV7LSLBV1idFhAZkSqworYGRktyofiZ3EADmeXfS8cTk.png)


<h1> update!</h1>
ok so everything you have read above is from like 3 months ago lol. this was a draft.
today i figured out how to make these correctly. 

at that point, the csg was located WAY off from the path. but in the CSG you gotta hit the checkbox 
![PATH LOCAL](https://files.peakd.com/file/peakd-hive/web-gnar/Enyo6NRNRD5AcbHTEhCiew4rjbYftwwRfNebn3T6ffRNn8LPHaS2BTsm1vtsJUaWVt3.png)
path local

goodlord!

k

<h1> lets proceed </h1>


![Screenshot 2025-07-19 at 6.55.04 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/Eo43v4P4q3HEqMRmjzRQUuVcXzGvMQ1Fpc7fw7tUf7R6H5Mwytip4hK5pCvugQNQXuj.png)

to change the shape of the polygon you gotta click here which i never would have figured out without a tutorial.

so then yeah you can add a new csgPolygon like i did here with the sidewalks. 


![Screenshot 2025-07-20 at 8.42.53 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/23tGeA3dnqWp8KeyihCF7CpQvn9VgBYEcmcJ64F1sW1dW2FztFvGDsUBWKTW9v4Dugs29.png)


![Screenshot 2025-07-20 at 9.03.53 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/23z6hqDYtxpu8qKeWiD468Qxz8ZuzYHNUaoSxR8ve4M2zdKio9cmTfom9F9qsH6evWvHN.png)

i got distracted thinking i should populate the road with plants or something. but thinking about it i probably should keep plants seperate.

i think its now time to dive back into crocotile, which is what i use to 3d model. and get cranking on a bunch of new stuff. 


![Screenshot 2025-07-20 at 9.04.04 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/242D9nQVc5cCaJ5UfQscpX9CiJj4orV2QZCt6dzKo9WNCcUBUM4mQ4WNx42KpoMc5nLwb.png)


im going to leave this picture here, so i dont lose it. its the area of brazil i am working on in the game


![Screenshot 2025-07-19 at 3.24.35 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/23vsSXnJpdDYFP9Z6vpmwbAQPj631rZDMs3QefRAZjVt1okScFfp76gB2Eo28xXXTVzR2.png)

![Screenshot 2025-07-20 at 1.39.45 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/243qMeqNaWigWa5XsH1rSuFG9h2cpamdpsCmqz5ZxRiv5PFjdgrSXxdYBV3bnQuBbqVyv.png)

im going to publish this post so its not in my drafts anymore and can move on knowing that i accomplished building a road in godot. 


![Screenshot 2025-07-21 at 3.39.58 PM.png](https://files.peakd.com/file/peakd-hive/web-gnar/Eqb3WLTtqL9LgPtM1yqh5FdyohRMaQyywXuyafr65VApAkRvSUBngtQchUhSDhfZvJ6.png)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 256 others
properties (23)
authorweb-gnar
permlinkhow-to-make-roads-in-godot-the-gnar-world-mini-devlog-9
categoryhive-122422
json_metadata{"app":"peakd/2025.7.3","format":"markdown","image":["https://files.peakd.com/file/peakd-hive/web-gnar/Eqb3WLTtqL9LgPtM1yqh5FdyohRMaQyywXuyafr65VApAkRvSUBngtQchUhSDhfZvJ6.png","https://files.peakd.com/file/peakd-hive/web-gnar/Eopts9b4KGU5g8CvWnFFA6TSZbP9Rs9HtRTQ6PWqRfP7oGmq2opNDbr6Z5kHJ2HyQwa.png","https://files.peakd.com/file/peakd-hive/web-gnar/48PxEieJLDPPcnZ4DDDfQKcFf3wPg6Xsotnf4XyMJTNyVCjtLK6S8AmymyVgeNe16R.png","https://files.peakd.com/file/peakd-hive/web-gnar/Ep5oe5vKQ4qQRcFzGWcehXn38E8MAycf8UuoCgtyY2xJdQzYYz3RVxk7WxpE4PKjyxr.png","https://files.peakd.com/file/peakd-hive/web-gnar/23xA1tmNfbs7sTsSpHagiA8xtoUrZUWFmRf8VoVWVGfQYrKRTEPyuoNuirZKz9ZK8wKVt.png","https://files.peakd.com/file/peakd-hive/web-gnar/23tSz8Fcs8qokzXioEGwc6kAfv15ySuYdLtqSe2XEBtSPNikLBfJVRjpYaketzeZbgHzH.png","https://files.peakd.com/file/peakd-hive/web-gnar/241QdxubqBpKb4tC9BM2LTXdwGXfeQjuqqVuyLTPrZnvMiJHciYwZJUzLtrABLwyVEmho.png","https://files.peakd.com/file/peakd-hive/web-gnar/23wqnx3H9cSR1bQ85GTidzWfpuGSv1GiZ8TwSv4yToGwpBLuVuLxodZzsuhPn8E5RWyYt.png","https://files.peakd.com/file/peakd-hive/web-gnar/Eo1vv3H9wipewQuBDhj99jmQSJVGMmEE13WGP9cPi7fXM6oP1J67h8B9NMtePzpDutM.png","https://files.peakd.com/file/peakd-hive/web-gnar/Ep1XTkERfZxyAYKQryjCMUYCu9AkrgtmJhmgzE9um3UMhgr115TL5eGZX2H6X1SYxqn.png","https://files.peakd.com/file/peakd-hive/web-gnar/244xqYKzMjCckrxKfTPfS3VMvaK6NQVJwm5BipMCRPkSfg68CEJ7BndWtWrpACgioCGxo.png","https://files.peakd.com/file/peakd-hive/web-gnar/EpxrCsZoiY74kZQS37H8hZX2VixJPsXf5FDtAozB8TKkE6TbUCQRyf9aU3pCrrSQEY2.png","https://files.peakd.com/file/peakd-hive/web-gnar/23xKvR63xMbW1uMYzgL52dyEbvV7LSLBV1idFhAZkSqworYGRktyofiZ3EADmeXfS8cTk.png","https://files.peakd.com/file/peakd-hive/web-gnar/Enyo6NRNRD5AcbHTEhCiew4rjbYftwwRfNebn3T6ffRNn8LPHaS2BTsm1vtsJUaWVt3.png","https://files.peakd.com/file/peakd-hive/web-gnar/Eo43v4P4q3HEqMRmjzRQUuVcXzGvMQ1Fpc7fw7tUf7R6H5Mwytip4hK5pCvugQNQXuj.png"],"tags":["godot","gamedev","gnarworld","worldbuilding","csgpolygon3d","path3d"],"users":[]}
created2025-07-21 20:39:15
last_update2025-07-21 20:40:30
depth0
children1
last_payout1969-12-31 23:59:59
cashout_time2025-07-28 20:39:15
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value8.394 HBD
promoted0.000 HBD
body_length6,010
author_reputation167,651,865,431,181
root_title"How to Make Roads in Godot -- The Gnar World Mini-Devlog #8"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id144,282,144
net_rshares23,427,817,107,380
author_curate_reward""
vote details (320)
@albuslucimus ·
Way to get this one out of drafts dude!  I’ve definitely had those ones that seem to be in drafts so long they approach a sad quiet death in isolation - I’m glad this one made it out!

Pretty cool seeing how you’re working in 3D.  I’ve read that Unity makes 2D harder than 3D, mostly just because it was originally designed for 3D development.   It sure if that’s true or not, but I’m excited for the time when I get to start all over and develop the last few levels of Skullie_World, which, at least for now, are slated to be 3D open world.  

I wonder how much correlation there is between Godot and Unity?  I’ll definitely try to reference your DevLog when I make it to that point!
properties (22)
authoralbuslucimus
permlinkre-web-gnar-2025723t22153177z
categoryhive-122422
json_metadata{"links":[],"type":"comment","tags":["hive-122422","godot","gamedev","gnarworld","worldbuilding","csgpolygon3d","path3d"],"app":"ecency/3.3.3-mobile","format":"markdown+html"}
created2025-07-24 02:15:03
last_update2025-07-24 02:15:03
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-07-31 02:15:03
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length684
author_reputation78,005,154,403,899
root_title"How to Make Roads in Godot -- The Gnar World Mini-Devlog #8"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,351,011
net_rshares0