Endless runner only in trigger valume

I dont have an idea i just want to know how could i do it

Hello guys i want to make a third person game with the caracter is moving freely , but whene he overlap a trigger valume , he moves like endless runner games

Show us the code that handles the overlap events for those trigger volumes.

Oh I thought you were saying you have a problem where that happens and you want it to stop.

In that case just have the beginoverlap of the triggervolume set a boolean variable on the pawn or controller “IsEndlessRunning” to true, and the endoverlap of the triggervolume sets the same variable to false.

During Tick of the pawn or controller, then it Branches on the ISEndlessRunning variable: True means AddControlInput in the direction of the endless running, false does not.

During Input axis events, branch on the IsEndlessRunning variable. For things like turning or going forward and backward, ignore them if it’s True. Only let strafing and jumping inputs go through when isEndlessRunning is True. When it’s false, let all inputs through so he moves freely outside the trigger volumes.

Also in trigger volumes you’ll MIGHT need on beginoverlap to rotate the character to face the direction of the “endless” running. depending on what kind of movement he uses. If he uses the kind of movement that always faces the direction of travel then you can skip this step.

Thank you for replying , i’ve spent the last hour trying to do what you sed but no luck , after all i just started learning , if you can take a screen shot of this bp that would be fantastic , thank you so much

sorry I cant screenshot it because i never created it. It is just an idea. If I can find time to program it for you then I could screenshot it but I dont think i have time right now.

Hello. Follow my screenshot to properly setup everything. If you have any question about anything in the screenshot feel free to ask. hope this helps ?