From e255d26239ca7fb3e018425ebba36b95998ff409 Mon Sep 17 00:00:00 2001 From: Rob Kelly Date: Thu, 2 Jan 2025 13:29:04 -0700 Subject: [PATCH] Added more materials to terrain material map --- project.godot | 2 ++ src/world/terrain.gd | 2 ++ 2 files changed, 4 insertions(+) diff --git a/project.godot b/project.godot index 2b31daa..9289e2d 100644 --- a/project.godot +++ b/project.godot @@ -248,6 +248,8 @@ locale/translations=PackedStringArray("res://assets/text/text.en.translation") 3d_physics/layer_1="Collision Geometry" 3d_physics/layer_2="Water" +3d_physics/layer_25="Green Material" +3d_physics/layer_26="Fairway Material" 3d_physics/layer_27="Glass Material" 3d_physics/layer_28="Metal Material" 3d_physics/layer_29="Rock Material" diff --git a/src/world/terrain.gd b/src/world/terrain.gd index 28e5405..1bf0700 100644 --- a/src/world/terrain.gd +++ b/src/world/terrain.gd @@ -24,6 +24,8 @@ const PHYSICAL_LAYERS := { 1 << 28: Type.ROCK, 1 << 27: Type.METAL, 1 << 26: Type.GLASS, + 1 << 25: Type.FAIRWAY, + 1 << 24: Type.GREEN, }