Improved animations
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://2lcnu3dy54lx"]
|
||||
[gd_scene load_steps=10 format=3 uid="uid://2lcnu3dy54lx"]
|
||||
|
||||
[ext_resource type="Script" path="res://player/Player.gd" id="1_8gebs"]
|
||||
[ext_resource type="PackedScene" uid="uid://dnr3o1rbkqpgu" path="res://assets/female/Female.blend" id="2_8nah6"]
|
||||
[ext_resource type="PackedScene" uid="uid://2bbycjulf00g" path="res://character/health/HealthComponent.tscn" id="2_np5ag"]
|
||||
[ext_resource type="PackedScene" uid="uid://dlhdudao4ondv" path="res://assets/sword/Sword.blend" id="3_c4wr7"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgqbkj8wbcatv" path="res://assets/hair/PonyTail.blend" id="3_umw6q"]
|
||||
[ext_resource type="FontFile" uid="uid://b7mov13kwi8u8" path="res://assets/font/ubuntu_nf_regular.ttf" id="4_76ehj"]
|
||||
[ext_resource type="Script" path="res://player/Animation.gd" id="5_d4uw4"]
|
||||
[ext_resource type="Script" path="res://player/AnimationController.gd" id="4_i2ybk"]
|
||||
[ext_resource type="AnimationLibrary" uid="uid://c355hn01ye2hd" path="res://assets/animations/human.blend" id="6_fl6or"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2f50n"]
|
||||
@ -19,6 +21,20 @@ model = NodePath("Model")
|
||||
|
||||
[node name="Female" parent="Model" instance=ExtResource("2_8nah6")]
|
||||
|
||||
[node name="BoneAttachment3D" type="BoneAttachment3D" parent="Model/Female/Armature/GeneralSkeleton" index="2"]
|
||||
transform = Transform3D(0, -1, 0, 0, 0, -1, 1, 0, 0, -0.609469, 1.26691, -0.0234125)
|
||||
bone_name = "RightMiddleProximal"
|
||||
bone_idx = 44
|
||||
|
||||
[node name="Sword" parent="Model/Female/Armature/GeneralSkeleton/BoneAttachment3D" instance=ExtResource("3_c4wr7")]
|
||||
|
||||
[node name="BoneAttachment3D2" type="BoneAttachment3D" parent="Model/Female/Armature/GeneralSkeleton" index="3"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.57651e-10, 1.37156, -0.0247111)
|
||||
bone_name = "Head"
|
||||
bone_idx = 12
|
||||
|
||||
[node name="PonyTail" parent="Model/Female/Armature/GeneralSkeleton/BoneAttachment3D2" instance=ExtResource("3_umw6q")]
|
||||
|
||||
[node name="Collision" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
|
||||
shape = SubResource("CapsuleShape3D_2f50n")
|
||||
@ -35,7 +51,7 @@ font_size = 128
|
||||
outline_size = 6
|
||||
|
||||
[node name="Animation" type="Node" parent="." node_paths=PackedStringArray("character", "animation_player")]
|
||||
script = ExtResource("5_d4uw4")
|
||||
script = ExtResource("4_i2ybk")
|
||||
character = NodePath("..")
|
||||
animation_player = NodePath("../AnimationPlayer")
|
||||
|
||||
@ -47,3 +63,5 @@ libraries = {
|
||||
"human": ExtResource("6_fl6or")
|
||||
}
|
||||
playback_default_blend_time = 0.2
|
||||
|
||||
[editable path="Model/Female"]
|
||||
|
Reference in New Issue
Block a user