diff options
author | dusoleil <howcansocksbereal@gmail.com> | 2022-09-16 22:14:34 -0400 |
---|---|---|
committer | dusoleil <howcansocksbereal@gmail.com> | 2022-09-16 22:44:32 -0400 |
commit | 80ae65c08a36cca4c42060e5d90b6f58696d75f3 (patch) | |
tree | 68830feac2bbcb773691b15fe4735f9a5dbe4517 /World.tscn | |
parent | 760fc610908ca5a5a1ebb46e1996801c08d800aa (diff) | |
download | godot_wildjam_49-80ae65c08a36cca4c42060e5d90b6f58696d75f3.tar.gz godot_wildjam_49-80ae65c08a36cca4c42060e5d90b6f58696d75f3.zip |
Fix rounding error in chunk render distance
Diffstat (limited to '')
-rw-r--r-- | World.tscn | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -11,7 +11,7 @@ radius = 1000.0 [node name="World" type="Spatial"] script = ExtResource( 1 ) -[node name="WorldGen" type="RigidBody" parent="."] +[node name="Chunks" type="RigidBody" parent="."] collision_layer = 0 collision_mask = 0 can_sleep = false @@ -21,18 +21,18 @@ axis_lock_angular_y = true axis_lock_angular_z = true linear_damp = 0.5 -[node name="CollisionShape" type="CollisionShape" parent="WorldGen"] +[node name="CollisionShape" type="CollisionShape" parent="Chunks"] shape = SubResource( 23 ) -[node name="Chunk" parent="WorldGen" instance=ExtResource( 3 )] +[node name="Chunk" parent="Chunks" instance=ExtResource( 3 )] visible = false collision_layer = 0 -[node name="WorldGenCull" type="Area" parent="."] +[node name="ChunkRenderDistance" type="Area" parent="."] collision_layer = 0 collision_mask = 32 -[node name="Radius" type="CollisionShape" parent="WorldGenCull"] +[node name="Radius" type="CollisionShape" parent="ChunkRenderDistance"] shape = SubResource( 24 ) -[connection signal="area_exited" from="WorldGenCull" to="." method="_on_WorldGenCull_area_exited"] +[connection signal="area_exited" from="ChunkRenderDistance" to="." method="_on_ChunkRenderDistance_area_exited"] |