blob: 446ad0307395577e59cd17155117ae9dc022e6d2 (
plain) (
tree)
|
|
[gd_scene load_steps=7 format=2]
[ext_resource path="res://world/World.gd" type="Script" id=1]
[ext_resource path="res://world/chunk/Chunk.tscn" type="PackedScene" id=3]
[sub_resource type="SphereShape" id=24]
radius = 1000.0
[sub_resource type="SphereShape" id=25]
radius = 800.0
[sub_resource type="SphereShape" id=26]
radius = 150.0
[sub_resource type="BoxShape" id=23]
[node name="World" type="Spatial"]
script = ExtResource( 1 )
acceleration = 50.0
[node name="ChunkRenderDistance" type="Area" parent="."]
collision_layer = 0
collision_mask = 32
[node name="Radius" type="CollisionShape" parent="ChunkRenderDistance"]
shape = SubResource( 24 )
[node name="ChunkRenderMid" type="Area" parent="."]
collision_layer = 0
collision_mask = 32
[node name="Radius" type="CollisionShape" parent="ChunkRenderMid"]
shape = SubResource( 25 )
[node name="ChunkRenderClose" type="Area" parent="."]
collision_layer = 0
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
can_sleep = false
axis_lock_linear_y = true
axis_lock_angular_x = true
axis_lock_angular_y = true
axis_lock_angular_z = true
linear_damp = 0.5
[node name="CollisionShape" type="CollisionShape" parent="Chunks"]
shape = SubResource( 23 )
[connection signal="area_entered" from="ChunkRenderDistance" to="." method="_on_ChunkRenderDistance_area_entered"]
[connection signal="area_exited" from="ChunkRenderDistance" to="." method="_on_ChunkRenderDistance_area_exited"]
[connection signal="area_entered" from="ChunkRenderMid" to="." method="_on_ChunkRenderMid_area_entered"]
[connection signal="area_exited" from="ChunkRenderMid" to="." method="_on_ChunkRenderMid_area_exited"]
[connection signal="area_entered" from="ChunkRenderClose" to="." method="_on_ChunkRenderClose_area_entered"]
[connection signal="area_exited" from="ChunkRenderClose" to="." method="_on_ChunkRenderClose_area_exited"]
|