Input Mobile touch

Hello everyone! Help! Having issues with TOUCH INPUT.

I need my player to make a “SimpleMove” and spawn a circle on the floor with a double tap/click. It works perfectly on Desktop.

On the other hand, on mobile, it detects the touch point location correctly on the floor; I mean, the input is well received. However, it doesn’t work every time; I have to try many, many times in order to achieve the circle and movement.



Hey there @JuanMaldini! So from your blueprints I’m not seeing where the fault is right away, is there any way. Is there any way we can see how it reacts? Could you put breakpoints on the nodes that set the location for the circle and movement, and maybe print it’s values so you can check if it’s the setting that’s the problem or the function for the movement to the location. I’m guessing it’s likely the input from the phone coming in weird but I’ll have to see it in action as well.

1 Like

i had a similar problem… i solved it by creating an additional object…
image
the arrow attachment is not actually to the cursor
image
at the point where I clicked - the actor spawns at a height of 300 (vertically) - a line goes down from him… he controls the relocation of the arrow

I do it with a slightly different code) show a screenshot from the game, it’s interesting

Thanks all for the contribution.

This is the problem that I find in my code. My “Get Location Under Cursor/Finger” Function wasn’t returning a result when “Is Táctil” is set True.

I tried to print the Hit Actor Name when I Touch and the actor is null. Looks Like it does not find actor…

I find a post with the same problem




It prints “Null Object” when “Is Tactil” is true
Here is the screenshoot.

Thank’s!