disallow jumping while pressing towards ladder
This commit is contained in:
parent
6946592a6e
commit
39d7387f61
2 changed files with 13 additions and 10 deletions
|
@ -1087,10 +1087,10 @@ __meta__ = {
|
|||
"_editor_description_": "stuck to ladder"
|
||||
}
|
||||
|
||||
[node name="On Jump" type="Node" parent="StateChart/Root/Movement/Climbing"]
|
||||
[node name="On LadderJump" type="Node" parent="StateChart/Root/Movement/Climbing"]
|
||||
script = ExtResource( 10 )
|
||||
to = NodePath("../../Airborne/Jump/LadderJump")
|
||||
event = "jump"
|
||||
event = "ladder_jump"
|
||||
|
||||
[node name="On LadderDetach" type="Node" parent="StateChart/Root/Movement/Climbing"]
|
||||
script = ExtResource( 10 )
|
||||
|
@ -1143,6 +1143,7 @@ guard_expression = "can_respawn"
|
|||
layer = 128
|
||||
|
||||
[node name="StateChartDebug" type="Tree" parent="StateDebugLayer"]
|
||||
visible = false
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
margin_left = -147.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue