This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## For a beginner-friendly version of the following (more advanced users likely will get better use of the below, | |
## if you're just starting out...), see this new gist: | |
## https://gist.github.com/WolfgangSenff/0a9c1d800db42a9a9441b2d0288ed0fd | |
This document represents the beginning of an upgrade or migration document for GDScript 2.0 and Godot 4.0. I'm focusing on 2D | |
at the moment as I'm upgrading a 2D game, but will hopefully have more to add for 3D afterward. | |
## If you want more content like this, please help fund my cat's medical bills at https://ko-fi.com/kyleszklenski - thank you very much! On to the migration guide. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section A: Preparing your models in Blender. | |
1. In blender, open up one of your 3d tiles. | |
2. Center it in the scene and have it sit directly above y=0 | |
3. Export it as a .obj file | |
Repeat these steps for every tile in the tileset. | |
Section B: Setup in Godot | |
1. Create a new scene with a spatial node. | |
2. Create a new folder called "Models" and drag your .obj files in there. | |
3. Drag all your models into the scene as children of Spatial. They should all be of type MeshInstance. |