I would like to make it so you can only jump once on the same wall but im not sure how to do so, my current code makes it so the player jumps of the wall but they can just continue pressing space to repeatedly jump from the same wall.
I used a counter to count the number of times the player had jumped, then prevent input actions until the player lands on the ground again. If you don’t want to limit the number of wall jumps the player can do, I think you would have to store the wall you hit from your line trace in an array, then disable wall jumping whenever the player hits any object in that array, resetting the array when the player lands on solid ground again.
Actor doesn’t work so i tried what my character file was called which is BP_PlatformerCharacter, this allowed me to correct the array to the other piece of code but it created a new error.
Where is this logic being implemented? Are you using a specific blueprint type to wall jump off of? The blueprint I provided runs on the character blueprint, if that makes a difference.