[gd_scene load_steps=4 format=3 uid="uid://bldbqjmabjemn"] [ext_resource type="Script" path="res://scripts/freezer.gd" id="1_nmqkg"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_pkxhd"] height = 6.0 radius = 2.0 [sub_resource type="BoxShape3D" id="BoxShape3D_uvwqt"] size = Vector3(5, 5, 5) [node name="freezer" type="StaticBody3D"] script = ExtResource("1_nmqkg") [node name="CSGCylinder3D" type="CSGCylinder3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.5, 0) radius = 2.0 height = 1.0 [node name="CSGCylinder3D2" type="CSGCylinder3D" parent="."] transparency = 0.25 radius = 1.5 height = 4.0 [node name="CSGCylinder3D3" type="CSGCylinder3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.5, 0) radius = 2.0 height = 1.0 [node name="CollisionShape3D" type="CollisionShape3D" parent="."] shape = SubResource("CylinderShape3D_pkxhd") [node name="Area3D" type="Area3D" parent="."] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"] shape = SubResource("BoxShape3D_uvwqt") [node name="Timer" type="Timer" parent="."] autostart = true [connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"] [connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]