-
Notifications
You must be signed in to change notification settings - Fork 2
Blocks
Scenes that determine the wall, floors and ceiling positions, sizes and other properties like shadows or visibility ranges.
You can make your own blocks as long as you use the same scene structure and names, but since they are annoying to set up I left some premade ones that you can modify.
You must set the correct block dimensions in the Tile Size property. Cord is just a preview for debugging.
Remember that the mesh will be replaced by the one set up in the map theme.
Any property you change from any MeshInstance will be transferred to the MultiMesh if you chose to use them.
I included separate shadow meshes since the visual meshes are too thin to work properly, you can delete them if you don't want to use them. These must have "Shadow" as name if you want to merge them into a MultiMesh
There are two wall meshes, one for the inside of the map and one for the outside. You can disable the outside with the map theme.
Only BoxShape3D is supported for optimization, they will keep their sizes when merged.
The ceiling does not have a collision shape, it uses the same one as the floor that is above it. (This may be changed, as it leaves them with no collision if there is no level above them)