summaryrefslogtreecommitdiffstats
path: root/world/World.tscn
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2022-09-20 02:00:08 -0400
committerdusoleil <howcansocksbereal@gmail.com>2022-09-20 02:00:08 -0400
commit7e75beb7b1f3b1121961f8df36f0fee3cd41cb58 (patch)
tree297727d30a8cb5be309b47c1e8bfe41e0792888b /world/World.tscn
parent51a0664a1c2265adddbf4c42d4eda747c8ea8aaf (diff)
downloadgame_jam49-7e75beb7b1f3b1121961f8df36f0fee3cd41cb58.tar.gz
game_jam49-7e75beb7b1f3b1121961f8df36f0fee3cd41cb58.zip
Add ability to add static monuments to the world
Diffstat (limited to 'world/World.tscn')
-rw-r--r--world/World.tscn7
1 files changed, 4 insertions, 3 deletions
diff --git a/world/World.tscn b/world/World.tscn
index 647f47b..e5b4a67 100644
--- a/world/World.tscn
+++ b/world/World.tscn
@@ -39,6 +39,10 @@ collision_mask = 32
[node name="Radius" type="CollisionShape" parent="ChunkRenderClose"]
shape = SubResource( 26 )
+[node name="Chunk" parent="." instance=ExtResource( 3 )]
+visible = false
+collision_layer = 0
+
[node name="Chunks" type="RigidBody" parent="."]
collision_layer = 0
collision_mask = 0
@@ -52,9 +56,6 @@ linear_damp = 0.5
[node name="CollisionShape" type="CollisionShape" parent="Chunks"]
shape = SubResource( 23 )
-[node name="Chunk" parent="Chunks" instance=ExtResource( 3 )]
-visible = false
-collision_layer = 0
[connection signal="area_entered" from="ChunkRenderDistance" to="." method="_on_ChunkRenderDistance_area_entered"]
[connection signal="area_exited" from="ChunkRenderDistance" to="." method="_on_ChunkRenderDistance_area_exited"]