hotel-madness/scenes/entities/player.tscn

56 lines
1.6 KiB
Text

[gd_scene load_steps=6 format=3 uid="uid://dpdxe3muj2o26"]
[ext_resource type="Script" path="res://scripts/entities/player.gd" id="1_r7f2r"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_yly5q"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_7frjr"]
[sub_resource type="BoxShape3D" id="BoxShape3D_flq6p"]
size = Vector3(3, 3, 3)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_1sd1e"]
radius = 0.125
[node name="Player" type="CharacterBody3D"]
script = ExtResource("1_r7f2r")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
mesh = SubResource("CapsuleMesh_yly5q")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_7frjr")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
[node name="InteractDialog" type="Label" parent="."]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -20.0
offset_right = 20.0
offset_bottom = 23.0
grow_horizontal = 2
size_flags_horizontal = 4
[node name="Label" type="Label" parent="."]
offset_right = 40.0
offset_bottom = 23.0
[node name="Label3D" type="Label3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.25, 0)
pixel_size = 0.01
billboard = 1
no_depth_test = true
text = "SamplePlayer"
[node name="Area3D" type="Area3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
shape = SubResource("BoxShape3D_flq6p")
[node name="Gun" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0.625, 0, -0.5)
visible = false
mesh = SubResource("CapsuleMesh_1sd1e")