How can I solve this bug?


I haven’t added a node to unattach character when it doesn’t touch wall. It only unattaches when jumps. This wallrun is based on linetraces, if linetrace hits wall you can attach to wall and go.

Here is my blueprint:





I thought of creating 2 linetraces and when one of them hits, you can attach but if they dont hit you unattach. But I am not sure how to make 2 line traces at both sides. How can I unattach my character when it goes off wall?

Hi

Instead of detecting a wall, what about adding a non blocking collider to the front of the wall small enough to engage the player wall run but not too big he latches from anywhere,

On enter collision box wall run, on exit collision box fall and then just code in the jump.