Hello everyone !
I have a problem on setting a Jump button correctly on mobile.
No problem to create the button itself but I cannot set the widget blueprint…
The problem is: when the ball jumps, it can also jump when it’s in the air (infinite jumps when you spam the button) and I don’t want that
I have set the impulse correctly on the PC so it works perfectly fine with a hit event to avoid jump until the ball hits the floor but when I assigned it to a custom button I can’t figure out in the widget blueprint how to stop the impulse because you can’t add a hit event in widget blueprint.
I really don’t know how to set the widget blueprint to make it work exactly the same but with a pressed button on mobile…
Please help me
Here’s the BP for the PC that works perfectly:
Thanks a lot !