2023-08-19 18:18:34 -06:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://7utef1nnena8"]
|
2023-08-18 20:59:38 -06:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://Player.gd" id="1_7gpdp"]
|
2023-08-19 18:56:38 -06:00
|
|
|
[ext_resource type="PackedScene" uid="uid://bgoo1lbt28na" path="res://Models/grape_man.tscn" id="2_ctyy5"]
|
2023-08-19 18:18:34 -06:00
|
|
|
[ext_resource type="Script" path="res://Holster.gd" id="3_a68da"]
|
2023-08-18 20:59:38 -06:00
|
|
|
|
2023-08-19 12:27:23 -06:00
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kb4ms"]
|
2023-08-19 23:32:26 -06:00
|
|
|
radius = 0.0669067
|
2023-08-19 17:15:16 -06:00
|
|
|
height = 0.43
|
2023-08-18 20:59:38 -06:00
|
|
|
|
2023-08-19 18:18:34 -06:00
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_6l1w6"]
|
|
|
|
|
2023-08-18 20:59:38 -06:00
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
|
|
script = ExtResource("1_7gpdp")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
2023-08-19 23:32:26 -06:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.237697, 0)
|
2023-08-19 12:27:23 -06:00
|
|
|
shape = SubResource("CapsuleShape3D_kb4ms")
|
2023-08-18 20:59:38 -06:00
|
|
|
|
2023-08-19 18:56:38 -06:00
|
|
|
[node name="grape_man" parent="." instance=ExtResource("2_ctyy5")]
|
2023-08-18 20:59:38 -06:00
|
|
|
|
2023-08-18 21:27:39 -06:00
|
|
|
[node name="CameraMount" type="Node3D" parent="."]
|
2023-08-19 12:27:23 -06:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0)
|
2023-08-18 21:27:39 -06:00
|
|
|
|
|
|
|
[node name="PlayerCam" type="Camera3D" parent="CameraMount"]
|
2023-08-19 12:27:23 -06:00
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.39043)
|
|
|
|
current = true
|
2023-08-19 11:51:06 -06:00
|
|
|
fov = 50.0
|
2023-08-19 15:42:56 -06:00
|
|
|
|
2023-08-19 18:18:34 -06:00
|
|
|
[node name="Holster" type="Node3D" parent="."]
|
|
|
|
script = ExtResource("3_a68da")
|
|
|
|
|
|
|
|
[node name="Area3D" type="Area3D" parent="Holster"]
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Holster/Area3D"]
|
2023-08-19 23:37:41 -06:00
|
|
|
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0.0469455, 0)
|
2023-08-19 18:18:34 -06:00
|
|
|
shape = SubResource("SphereShape3D_6l1w6")
|
2023-08-19 20:18:07 -06:00
|
|
|
|
|
|
|
[connection signal="anim_check_grab" from="grape_man" to="." method="_on_grape_man_anim_check_grab"]
|
|
|
|
[connection signal="body_entered" from="Holster/Area3D" to="." method="_on_holster_enter"]
|
|
|
|
[connection signal="body_exited" from="Holster/Area3D" to="." method="_on_holster_exit"]
|