feat: added staggering walk animation

This commit is contained in:
Sara 2025-01-04 16:56:42 +01:00
parent 1fb6419f07
commit 3375d8de93
13 changed files with 3611 additions and 11 deletions

Binary file not shown.

Binary file not shown.

View file

@ -103,11 +103,10 @@ node_connections = [&"BoneMask", 0, &"Rest", &"BoneMask", 1, &"Turn", &"output",
animation = &"RESET"
[sub_resource type="AnimationNodeBlend2" id="AnimationNodeBlend2_rb1jd"]
filter_enabled = true
filters = ["Character/Skeleton3D:Foot.L", "Character/Skeleton3D:Foot.R", "Character/Skeleton3D:IKTarget.Foot.L", "Character/Skeleton3D:IKTarget.Foot.R", "Character/Skeleton3D:hip", "Character/Skeleton3D:lowerleg.L", "Character/Skeleton3D:lowerleg.R", "Character/Skeleton3D:root", "Character/Skeleton3D:upperleg.L", "Character/Skeleton3D:upperleg.R", "skeleton_character/Skeleton3D:Foot.L", "skeleton_character/Skeleton3D:Foot.R", "skeleton_character/Skeleton3D:IKTarget.Foot.L", "skeleton_character/Skeleton3D:IKTarget.Foot.R", "skeleton_character/Skeleton3D:PoleTarget.Foot.L", "skeleton_character/Skeleton3D:PoleTarget.Foot.R", "skeleton_character/Skeleton3D:hip", "skeleton_character/Skeleton3D:lowerleg.L", "skeleton_character/Skeleton3D:lowerleg.R", "skeleton_character/Skeleton3D:root", "skeleton_character/Skeleton3D:spine.001", "skeleton_character/Skeleton3D:upperleg.L", "skeleton_character/Skeleton3D:upperleg.R"]
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_psu0r"]
animation = &"Walk_forward"
animation = &"Walk_forward_stagger"
[sub_resource type="AnimationNodeBlendTree" id="AnimationNodeBlendTree_2mbyh"]
graph_offset = Vector2(-724.58, 74.5681)
@ -265,6 +264,7 @@ animation = &"Fall_die"
[sub_resource type="AnimationNodeTimeSeek" id="AnimationNodeTimeSeek_p56ym"]
[resource]
graph_offset = Vector2(-282, 77)
nodes/Actions/node = SubResource("AnimationNodeStateMachine_7smdg")
nodes/Actions/position = Vector2(0, 140)
nodes/Death/node = SubResource("AnimationNodeAnimation_au62i")

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:687defe5880369804ca0c50bf1132fe4569962bfb0553582311c51cd33e7f2cc
size 20137784
oid sha256:68f0b12166c7507a8de94aa7e988e9b77a1a3761b6812410433d0e906b390612
size 20350728

File diff suppressed because it is too large Load diff

View file

@ -14,6 +14,5 @@ normal_texture = ExtResource("2_efm68")
rim = 0.0
rim_tint = 0.85
proximity_fade_distance = 0.01
distance_fade_mode = 1
distance_fade_min_distance = 0.6
distance_fade_min_distance = 0.9
distance_fade_max_distance = 1.0

View file

@ -3,7 +3,7 @@
[ext_resource type="PackedScene" uid="uid://bnr6lab7heo8e" path="res://objects/character_model_base.tscn" id="1_cwt7u"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ewsvd"]
radius = 0.22
radius = 0.280019
[sub_resource type="SphereShape3D" id="SphereShape3D_v7ajo"]
radius = 0.1

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2c81a6026da8f5623d508fe8a31ba829286384c22b0325ba8ce72c4f8b2f35e2
size 3558680
oid sha256:f0895b63c85962345f60851afdaa4494e335a5d62253e18aa98a176bad689289
size 3629920

Binary file not shown.

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb81b6e1de3be160e158fcd5f50e5ab00b128e79e6bda19163ef8702c92d0cc2
size 1425740
oid sha256:f61cb01854c2b0622e30ab65d1996d7f5b752868e573400819b596ce977d769c
size 1849644

Binary file not shown.

3
models/modules_Plane.png Normal file
View file

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b96bbf195509c302801d6527c37281745bc7d9812753464edb7b593565570f64
size 114352