точно есть дэшм
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[gd_scene format=3 uid="uid://dmol158qdw0lp"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bhrqn66efyjt2" path="res://addons/hp/medical_kit.gd" id="1_ddvnm"]
|
||||
[ext_resource type="PackedScene" uid="uid://cyxdexqmowyvh" path="res://addons/Addon Assets/Weapon Models/AmmunitionBox/ammobox_low.glb" id="2_koyrl"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_vfsrg"]
|
||||
size = Vector3(0.974533, 0.752262, 1.42589)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_diulm"]
|
||||
size = Vector3(1.90394, 1.28174, 2.08409)
|
||||
|
||||
[node name="medkit" type="StaticBody3D" unique_id=1288342592]
|
||||
collision_layer = 64
|
||||
collision_mask = 121
|
||||
script = ExtResource("1_ddvnm")
|
||||
|
||||
[node name="Hitbox" type="CollisionShape3D" parent="." unique_id=824024126]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0297165, -0.00481224, 0.00307465)
|
||||
shape = SubResource("BoxShape3D_vfsrg")
|
||||
|
||||
[node name="DetectArea" type="Area3D" parent="." unique_id=6166126]
|
||||
collision_layer = 64
|
||||
collision_mask = 2
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="DetectArea" unique_id=1058434302]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0385975, 0.274414, -0.0104526)
|
||||
shape = SubResource("BoxShape3D_diulm")
|
||||
|
||||
[node name="Model" parent="." unique_id=1010714069 instance=ExtResource("2_koyrl")]
|
||||
transform = Transform3D(-2.84124e-07, 0, 6.5, 0, 6.5, 0, -6.5, 0, -2.84124e-07, 0, -0.0915464, 0)
|
||||
|
||||
[connection signal="area_entered" from="DetectArea" to="." method="_on_detect_area_area_entered"]
|
||||
Reference in New Issue
Block a user