35 lines
1.2 KiB
Plaintext
Raw Normal View History

2024-01-26 00:29:05 +01:00
[gd_scene load_steps=5 format=3 uid="uid://2lcnu3dy54lx"]
2024-01-14 12:22:14 +01:00
[ext_resource type="Script" path="res://player/Player.gd" id="1_8gebs"]
2024-01-24 20:57:31 +01:00
[ext_resource type="PackedScene" uid="uid://2bbycjulf00g" path="res://character/health/HealthComponent.tscn" id="2_np5ag"]
2024-01-14 12:22:14 +01:00
2024-01-18 23:35:17 +01:00
[sub_resource type="PrismMesh" id="PrismMesh_y7abh"]
size = Vector3(0.5, 1.6, 0.5)
2024-01-16 23:01:16 +01:00
2024-01-18 23:35:17 +01:00
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2f50n"]
2024-01-24 00:09:50 +01:00
radius = 0.25
2024-01-18 23:35:17 +01:00
height = 1.6
2024-01-16 23:01:16 +01:00
2024-01-18 23:35:17 +01:00
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("model") groups=["player"]]
2024-01-14 12:22:14 +01:00
script = ExtResource("1_8gebs")
2024-01-18 23:35:17 +01:00
model = NodePath("Model")
[node name="Model" type="Node3D" parent="."]
[node name="MeshInstance3D" type="MeshInstance3D" parent="Model"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
mesh = SubResource("PrismMesh_y7abh")
2024-01-20 22:18:58 +01:00
[node name="Collision" type="CollisionShape3D" parent="."]
2024-01-18 23:35:17 +01:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
shape = SubResource("CapsuleShape3D_2f50n")
2024-01-20 22:18:58 +01:00
[node name="Animation" type="AnimationPlayer" parent="."]
2024-01-14 12:22:14 +01:00
2024-01-20 22:18:58 +01:00
[node name="Health" parent="." instance=ExtResource("2_np5ag")]
2024-01-26 00:29:05 +01:00
[node name="Label" type="Label3D" parent="."]
2024-01-26 12:50:46 +01:00
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0)
2024-01-26 00:29:05 +01:00
billboard = 1
2024-01-26 12:50:46 +01:00
text = "Player"