fix: turning animations not working

This commit is contained in:
Sara 2024-12-07 17:43:57 +01:00
parent c65a059ffd
commit 3e6e4f3129
3 changed files with 54 additions and 19 deletions

View file

@ -120,8 +120,8 @@ root_motion_track = NodePath("skeleton_character/Skeleton3D:root")
tree_root = ExtResource("2_wdyfc")
anim_player = NodePath("../AnimationPlayer")
parameters/Actions/Run/Speed/blend_amount = 0
"parameters/Actions/Stationary [turn]/BoneMask/blend_amount" = 0
"parameters/Actions/Stationary [turn]/Turn/blend_position" = null
"parameters/Actions/Stationary [turn]/BoneMask/blend_amount" = 1.0
"parameters/Actions/Stationary [turn]/Turn/blend_position" = 0.0
"parameters/Actions/Walk [turn]/Speed/blend_amount" = 0
parameters/DeathBlend/blend_amount = 0
parameters/DeathSeek/seek_request = -1.0

View file

@ -74,9 +74,6 @@ bones/61/rotation = Quaternion(-0.707107, 1.25097e-07, 1.25097e-07, 0.707107)
bones/62/rotation = Quaternion(-0.707107, 1.5189e-07, 1.5189e-07, 0.707107)
bones/63/rotation = Quaternion(-0.707107, 1.5189e-07, 1.5189e-07, 0.707107)
[node name="BoneAttachment3D" parent="CharacterModel/skeleton_character/Skeleton3D" index="3"]
transform = Transform3D(-0.937186, 0.347435, 0.0311762, 0.0973187, 0.17459, 0.97982, 0.33498, 0.921308, -0.197435, -0.16719, 1.02003, 0.0528419)
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("CapsuleShape3D_3tduq")