123456789101112131415161718192021222324252627282930313233343536373839 |
- [gd_scene load_steps=5 format=3 uid="uid://b8dufelt0jqij"]
- [ext_resource type="Script" path="res://entities/ObjectSpawner.gd" id="1_qau2c"]
- [sub_resource type="BoxShape3D" id="BoxShape3D_5du0y"]
- size = Vector3(1.06096, 2.28663, 1.15449)
- [sub_resource type="BoxMesh" id="BoxMesh_7ltlw"]
- [sub_resource type="SphereMesh" id="SphereMesh_f8cha"]
- radius = 0.2
- height = 0.4
- [node name="ObjectSpawner" type="RayCast3D" groups=["leak_spawner"]]
- target_position = Vector3(0, -2, 0)
- collision_mask = 39
- hit_from_inside = true
- collide_with_areas = true
- script = ExtResource("1_qau2c")
- [node name="WallTester" type="Area3D" parent="."]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.35434, 0)
- collision_layer = 0
- [node name="CollisionShape3D" type="CollisionShape3D" parent="WallTester"]
- transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.777154, 0)
- shape = SubResource("BoxShape3D_5du0y")
- [node name="MeshInstance3D" type="MeshInstance3D" parent="WallTester"]
- transform = Transform3D(0.01, 0, 0, 0, 0.01, 0, 0, 0, 0.01, 0, 0.32722, 0)
- visible = false
- mesh = SubResource("BoxMesh_7ltlw")
- [node name="MeshInstance3D" type="MeshInstance3D" parent="."]
- visible = false
- mesh = SubResource("SphereMesh_f8cha")
- [connection signal="body_entered" from="WallTester" to="." method="_on_WallTester_body_entered"]
|