block bouncing a mushroom, now changes its direction, if at an edge.

This commit is contained in:
JHDev2006
2025-09-21 14:03:39 +01:00
parent 321ebb8e6b
commit 6013a7da77
3 changed files with 7 additions and 2 deletions

View File

@@ -75,4 +75,4 @@ movement_node = NodePath("../BasicEnemyMovement")
metadata/_custom_type_script = "uid://d4a7yp6e55u8t"
[connection signal="area_entered" from="Hitbox" to="." method="on_area_entered"]
[connection signal="block_bounced" from="BlockBouncingDetection" to="." method="block_bounce_up" unbinds=1]
[connection signal="block_bounced" from="BlockBouncingDetection" to="." method="block_bounce_up"]