diff options
Diffstat (limited to 'world/obstacles/Rock.gd')
-rw-r--r-- | world/obstacles/Rock.gd | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/world/obstacles/Rock.gd b/world/obstacles/Rock.gd deleted file mode 100644 index 577e626..0000000 --- a/world/obstacles/Rock.gd +++ /dev/null @@ -1,18 +0,0 @@ -extends StaticBody - -onready var collision_enabled = self.collision_layer - -func lod_distance(): - $"MeshInstance".visible = false - $"MeshInstance2".visible = true - self.collision_layer = 0 - -func lod_mid(): - $"MeshInstance".visible = true - $"MeshInstance2".visible = false - self.collision_layer = 0 - -func lod_close(): - $"MeshInstance".visible = true - $"MeshInstance2".visible = false - self.collision_layer = collision_enabled |