1- [gd_scene load_steps =28 format =3 uid ="uid://bcmepm05qldy5" ]
1+ [gd_scene load_steps =29 format =3 uid ="uid://bcmepm05qldy5" ]
22
33[ext_resource type ="Texture2D" uid ="uid://bc3n2sen32mqx" path ="res://sky.png" id ="1_0n6b1" ]
44[ext_resource type ="PackedScene" uid ="uid://dfyswwfb8j6iv" path ="res://player.tscn" id ="2_cwuyg" ]
@@ -120,6 +120,8 @@ _data = {
120120"water_surface" : SubResource ("Animation_as77u" )
121121}
122122
123+ [sub_resource type ="WorldBoundaryShape3D" id ="WorldBoundaryShape3D_vy5j4" ]
124+
123125[node name ="Node3D" type ="Node3D" ]
124126
125127[node name ="WorldEnvironment" type ="WorldEnvironment" parent ="." ]
@@ -169,6 +171,12 @@ use_collision = true
169171size = Vector3 (100 , 40 , 100 )
170172material = ExtResource ("3_b18pi" )
171173
174+ [node name ="Outside" type ="CSGBox3D" parent ="Main" ]
175+ transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , -21 , 0 )
176+ use_collision = true
177+ size = Vector3 (10000 , 40 , 10000 )
178+ material = ExtResource ("3_b18pi" )
179+
172180[node name ="Inner" type ="CSGBox3D" parent ="Main" ]
173181transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , 16 , 0 )
174182operation = 2
@@ -220,7 +228,7 @@ shape = SubResource("BoxShape3D_04k8c")
220228[node name ="GPUParticlesCollisionBox3D" type ="GPUParticlesCollisionBox3D" parent ="Main/Water" ]
221229transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , -3 , 0 )
222230cull_mask = 4294967293
223- extents = Vector3 (7.5 , 3 , 15 )
231+ size = Vector3 (15 , 6 , 30 )
224232
225233[node name ="AnimationPlayer" type ="AnimationPlayer" parent ="Main/Water" ]
226234autoplay = "water_surface"
@@ -229,7 +237,7 @@ libraries = {
229237}
230238
231239[node name ="Building" type ="CSGBox3D" parent ="." ]
232- transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 4 , 3 , 36 )
240+ transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 4 , 3 , 36.5 )
233241use_collision = true
234242size = Vector3 (16 , 25 , 16 )
235243material = ExtResource ("3_b18pi" )
@@ -267,7 +275,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, -8.25, -10)
267275distance = 20.5
268276
269277[node name ="Building3" type ="CSGBox3D" parent ="." ]
270- transform = Transform3D (0.995645 , 0 , 0.0932221 , 0 , 1 , 0 , -0.0932221 , 0 , 0.995645 , -36.2054 , 3 , 36.0096 )
278+ transform = Transform3D (0.995645 , 0 , 0.0932221 , 0 , 1 , 0 , -0.0932221 , 0 , 0.995645 , -36.2054 , 3 , 36.5096 )
271279use_collision = true
272280size = Vector3 (16 , 25 , 16 )
273281material = ExtResource ("3_b18pi" )
@@ -428,7 +436,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22.25, -9.5, 16)
428436
429437[node name ="GPUParticlesCollisionSDF3D" type ="GPUParticlesCollisionSDF3D" parent ="." ]
430438transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 0 , -0.5 , 0 )
431- extents = Vector3 (51 , 17 , 51 )
439+ size = Vector3 (102 , 34 , 102 )
432440resolution = 3
433441bake_mask = 4294967281
434442texture = ExtResource ("5_myd3n" )
@@ -473,20 +481,47 @@ transform = Transform3D(0.5, 0, 0.866025, 0, 1, 0, -0.866026, 0, 0.5, -7, -8.875
473481[node name ="Box4" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
474482transform = Transform3D (0.965926 , 0 , -0.258819 , 0 , 1 , 0 , 0.258819 , 0 , 0.965926 , -8.5 , -8.875 , 36.5 )
475483
476- [node name ="Box5" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
477- transform = Transform3D (1 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 1 , 28 , -10 , 39.25 )
478-
479484[node name ="Box9" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
480485transform = Transform3D (0.5 , 0 , -0.866025 , 0 , 1 , 0 , 0.866025 , 0 , 0.5 , 22.25 , -8.875 , 42.25 )
481486
482- [node name ="Box6" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
483- transform = Transform3D (0.906603 , 0.421985 , 0 , -0.421985 , 0.906603 , 0 , 0 , 0 , 1 , 26.8351 , -10.0595 , 29.75 )
487+ [node name ="Box10" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
488+ transform = Transform3D (2 .08616e-07, 0 , -1 , 0 , 1 , 0 , 1 , 0 , 2 .08616e-07, 20.75 , -8.875 , 40.75 )
489+
490+ [node name ="Box11" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
491+ transform = Transform3D (-0.707106 , 0 , -0.707107 , 0 , 1 , 0 , 0.707107 , 0 , -0.707106 , 10.4697 , 12.125 , 14.1686 )
484492
485- [node name ="Box8" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
486- transform = Transform3D (-0.234646 , -0.109218 , -0.965926 , -0.421985 , 0.906603 , 0 , 0.875711 , 0.407607 , -0.258819 , 34.3351 , -10.0595 , 38.5 )
493+ [node name ="Box12" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
494+ transform = Transform3D (-0.965926 , 0 , -0.258819 , 0 , 1 , 0 , 0.258819 , 0 , -0.965926 , 11.5303 , 12.125 , 12.3314 )
495+
496+ [node name ="Box13" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
497+ transform = Transform3D (-0.707106 , 0 , -0.707107 , 0 , 1 , 0 , 0.707107 , 0 , -0.707106 , 8.46967 , 16.125 , 38.6686 )
498+
499+ [node name ="Box14" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
500+ transform = Transform3D (-0.965926 , 0 , -0.258819 , 0 , 1 , 0 , 0.258819 , 0 , -0.965926 , 1.03033 , 16.125 , 31.8314 )
501+
502+ [node name ="Box15" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
503+ transform = Transform3D (-0.965926 , 0 , -0.258819 , 0 , 1 , 0 , 0.258819 , 0 , -0.965926 , -33.7197 , 6.125 , 25.3314 )
487504
488505[node name ="Box7" parent ="Boxes" instance =ExtResource ("5_o3uqf" )]
489506transform = Transform3D (0.5 , 0 , 0.866025 , 0 , 1 , 0 , -0.866026 , 0 , 0.5 , -5.7476 , -8.875 , 34.6871 )
490507
508+ [node name ="InvisibleWalls" type ="StaticBody3D" parent ="." ]
509+
510+ [node name ="CollisionShape3D" type ="CollisionShape3D" parent ="InvisibleWalls" ]
511+ transform = Transform3D (1 , 0 , 0 , 0 , -4 .37114e-08, -1 , 0 , 1 , -4 .37114e-08, 0 , 2 .16371e-06, -49.5 )
512+ shape = SubResource ("WorldBoundaryShape3D_vy5j4" )
513+
514+ [node name ="CollisionShape3D2" type ="CollisionShape3D" parent ="InvisibleWalls" ]
515+ transform = Transform3D (-1 , -8 .74228e-08, 3.82137e-15 , 0 , -4 .37114e-08, -1 , 8 .74228e-08, -1 , 4 .37114e-08, 0 , -2 .16371e-06, 49.5 )
516+ shape = SubResource ("WorldBoundaryShape3D_vy5j4" )
517+
518+ [node name ="CollisionShape3D3" type ="CollisionShape3D" parent ="InvisibleWalls" ]
519+ transform = Transform3D (-4 .37114e-08, 1 , 3.82137e-15 , -4 .37114e-08, 0 , -1 , -1 , -4 .37114e-08, 4 .37114e-08, -49.5 , -4 .58969e-07, 10.5 )
520+ shape = SubResource ("WorldBoundaryShape3D_vy5j4" )
521+
522+ [node name ="CollisionShape3D4" type ="CollisionShape3D" parent ="InvisibleWalls" ]
523+ transform = Transform3D (-4 .37114e-08, -1 , 0 , -4 .37114e-08, 0 , -1 , 1 , -4 .37114e-08, -4 .37114e-08, 49.5 , -2 .16371e-06, 13.75 )
524+ shape = SubResource ("WorldBoundaryShape3D_vy5j4" )
525+
491526[connection signal ="body_entered" from ="Main/Water" to ="Main/Water" method ="_on_body_entered" ]
492527[connection signal ="body_exited" from ="Main/Water" to ="Main/Water" method ="_on_body_exited" ]
0 commit comments