30 lines
1,004 B
Text
30 lines
1,004 B
Text
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://game/scripts/player_character.gd" id="1_script"]
|
|
[ext_resource type="PackedScene" path="res://assets/kaykit_characters/characters/Mannequin_Medium.glb" id="2_mannequin"]
|
|
[ext_resource type="AnimationLibrary" path="res://game/resources/player_animations.res" id="3_anims"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body"]
|
|
radius = 0.4
|
|
height = 2.0
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
collision_layer = 2
|
|
collision_mask = 5
|
|
script = ExtResource("1_script")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
position = Vector3(0, 1, 0)
|
|
shape = SubResource("CapsuleShape3D_body")
|
|
|
|
[node name="Model" type="Node3D" parent="."]
|
|
|
|
[node name="Mannequin" parent="Model" instance=ExtResource("2_mannequin")]
|
|
rotation = Vector3(0, 3.14159, 0)
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="Model"]
|
|
root_node = NodePath("../Mannequin")
|
|
libraries = {
|
|
&"": ExtResource("3_anims")
|
|
}
|
|
autoplay = &"Idle_A"
|