|Topic was automatically imported from the old Question2Answer platform.
I have a Kinematic2D body that is my player, I have an Area2D that is a ladder (tiles represent the actual ladder, with one-way collision objects for the rungs that was converted in to a tileset). I can make the player climb the ladder, but not optionally walk past it.
Using print statements I can see that the on_body_entered gets called and is immediately followed by a on_body_exited when the player touches the ladder body. In effect cancelling each other. I was also hoping to use the collision layer to turn off the player layer allowing him to walk by the ladder.
Any code that can show how to walk past or optionally climb a ladder? I am at a loss, my code is a mess so I won’t post it as it will just confuse you
Thanks in advance and I am happy to supply more info…