SlimeoosOdyssey/godot/player.tscn

42 lines
1.5 KiB
Plaintext
Raw Normal View History

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:18:34 -06:00
[ext_resource type="Script" path="res://Models/grape_man.gd" id="2_apuey"]
[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 17:15:16 -06:00
radius = 0.06
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 18:18:34 -06:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.21, 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:18:34 -06:00
[node name="grape_man" type="Node3D" parent="."]
transform = Transform3D(0.065, 0, 0, 0, 0.065, 0, 0, 0, 0.065, 0, 0, 0)
script = ExtResource("2_apuey")
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"]
transform = Transform3D(0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0, 0)
shape = SubResource("SphereShape3D_6l1w6")
2023-08-19 15:42:56 -06:00
[connection signal="anim_check_grab" from="grape_man" to="." method="_on_grape_man_anim_check_grab"]