40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://7utef1nnena8"]
|
|
|
|
[ext_resource type="Script" path="res://Player.gd" id="1_7gpdp"]
|
|
[ext_resource type="Script" path="res://Models/grape_man.gd" id="2_u6jps"]
|
|
[ext_resource type="Script" path="res://Holster.gd" id="3_a68da"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_kb4ms"]
|
|
radius = 0.06
|
|
height = 0.43
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_6l1w6"]
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
script = ExtResource("1_7gpdp")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.21, 0)
|
|
shape = SubResource("CapsuleShape3D_kb4ms")
|
|
|
|
[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_u6jps")
|
|
|
|
[node name="CameraMount" type="Node3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0)
|
|
|
|
[node name="PlayerCam" type="Camera3D" parent="CameraMount"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1.39043)
|
|
current = true
|
|
fov = 50.0
|
|
|
|
[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")
|