make top of ladder always be a jump (fixes #96)

This commit is contained in:
Haze Weathers 2023-05-16 23:48:08 -04:00
parent ad59e73568
commit b77ea88c50
2 changed files with 4 additions and 3 deletions

View file

@ -839,9 +839,9 @@ shape = SubResource( 16 )
[node name="LadderDetector" type="RayCast2D" parent="."]
unique_name_in_owner = true
position = Vector2( 0.5, 0 )
position = Vector2( 0.5, -0.5 )
enabled = true
cast_to = Vector2( 0, -10 )
cast_to = Vector2( 0, -9.5 )
collision_mask = 64
collide_with_areas = true
collide_with_bodies = false