forked from team-sg/hero-mark-2
leave edge state if no longer on edge (moving platform against wall pushes SG back onto platform, etc)
This commit is contained in:
parent
75a1091ce8
commit
11286539c6
2 changed files with 7 additions and 0 deletions
|
@ -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 )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue