Rimworld 3D - Making Custom Voxel Blocks in Godot 4

Опубликовано: 17 Август 2026
на канале: Real Robots
2,247
56

NOTE: I went back after I posted and fixed the bug causing ramps not to be placed along the edges of chunks. It's in the full code linked below.

Previous Video:    • Editing Voxel Terrain in game, adding coll...  
Patreon:   / realrobots  
Discord:   / discord  

Full Code: https://gitlab.com/realrobots/rimworl...

This isn't Minecraft, and we can't have nothing but cubes, colonists are going to need ramps, and possibly stairs and other 3D stuff in the future, so today I implement the ability to create custom blocks.

Sorry for the very engaging thumbnail.

00:00 Intro
00:42 Storing blocks as classes rather than enums
14:38 Creating the Ramp Mesh
26:05 Rotating blocks
33:04 Adding ramps at terrain generation
37:05 Checking the surroundings of rotated blocks