Burner
This commit is contained in:
parent
fcdd47e200
commit
2f2ac7c540
20 changed files with 218 additions and 30 deletions
40
scenes/burner.tscn
Normal file
40
scenes/burner.tscn
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
[gd_scene format=3 uid="uid://c1mddt0n064ub"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bjnv2g1ni0525" path="res://src/drag/draggable_object.gd" id="1_v8cqm"]
|
||||
[ext_resource type="PackedScene" uid="uid://3bg8whyxun5k" path="res://assets/models/SPIRTOVKA.glb" id="2_83yjx"]
|
||||
[ext_resource type="Script" uid="uid://d3v8045s7423j" path="res://src/button_gens/burner_button.gd" id="3_tuoyb"]
|
||||
[ext_resource type="Script" uid="uid://iv0p3iafoogu" path="res://src/burn_area.gd" id="4_s4s5n"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_83yjx"]
|
||||
height = 0.42895508
|
||||
radius = 0.2241211
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_tuoyb"]
|
||||
height = 0.31713867
|
||||
radius = 0.103515625
|
||||
|
||||
[node name="Burner" type="Area3D" unique_id=822962276 node_paths=PackedStringArray("button_generator")]
|
||||
script = ExtResource("1_v8cqm")
|
||||
button_generator = NodePath("ButtonGen")
|
||||
|
||||
[node name="SPIRTOVKA" parent="." unique_id=410340270 instance=ExtResource("2_83yjx")]
|
||||
transform = Transform3D(0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0)
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=578010566]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2145507, 0)
|
||||
shape = SubResource("CylinderShape3D_83yjx")
|
||||
|
||||
[node name="ButtonGen" type="Node" parent="." unique_id=739595415]
|
||||
script = ExtResource("3_tuoyb")
|
||||
|
||||
[node name="BurnArea" type="Area3D" parent="." unique_id=1510885909]
|
||||
collision_mask = 5
|
||||
script = ExtResource("4_s4s5n")
|
||||
power = 1.0
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="BurnArea" unique_id=2023114437]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.49743652, 0)
|
||||
shape = SubResource("CylinderShape3D_tuoyb")
|
||||
|
||||
[connection signal="area_entered" from="BurnArea" to="BurnArea" method="_on_area_entered"]
|
||||
[connection signal="area_exited" from="BurnArea" to="BurnArea" method="_on_area_exited"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue