fix ladder jump bug (closes #132)

This commit is contained in:
Haze Weathers 2023-07-04 12:11:51 -04:00
parent f2ff65807a
commit 311528e6ed
2 changed files with 11 additions and 4 deletions

View file

@ -1408,9 +1408,14 @@ __meta__ = {
"_editor_description_": "stuck to ladder"
}
[node name="On LadderJump" type="Node" parent="StateChart/Root/Movement/Climbing"]
[node name="On LadderPeak" type="Node" parent="StateChart/Root/Movement/Climbing"]
script = ExtResource( 10 )
to = NodePath("../../Airborne/Jump/LadderJump")
event = "ladder_peak"
[node name="On LadderJump" type="Node" parent="StateChart/Root/Movement/Climbing"]
script = ExtResource( 10 )
to = NodePath("../../Airborne/Jump/NormalJump")
event = "ladder_jump"
[node name="On LadderDetach" type="Node" parent="StateChart/Root/Movement/Climbing"]