leave edge state if no longer on edge (moving platform against wall pushes SG back onto platform, etc)

This commit is contained in:
Haze Weathers 2023-06-30 13:18:04 -04:00
parent 75a1091ce8
commit 11286539c6
2 changed files with 7 additions and 0 deletions

View file

@ -1254,6 +1254,11 @@ script = ExtResource( 10 )
to = NodePath("../../Walking")
event = "walk_start"
[node name="On OffEdge" type="Node" parent="StateChart/Root/Movement/Grounded/CanWalk/Edge"]
script = ExtResource( 10 )
to = NodePath("../../Still")
event = "off_edge"
[node name="Ducking" type="Node" parent="StateChart/Root/Movement/Grounded"]
script = ExtResource( 11 )