Mobile Gesture Pinch INput

I want to setup a pinch to zoom input method for mobile devices, but the pinch axis always has the value 0.

This is my setup:

260085-pinchaxis.png

260086-pinchtick.png

Now this always outputs 0.
The Mouse Wheel Axis is working as expected.

I have also tried it with an event, but it doesn’t change anything.

260088-touchpinchevent.png

Is this a bug in the Pinch Axis or am I missing something?

I am still having the same issue. Btw: This code is in my Pawn (if this information helps).

You need to check “Enable Gesture Recognizer” in your project setting(Engine->Input->Mobile).
In this way i solved the same problem

1 Like

I ran into a similar issue. Thanks for sharing this. I wasn’t aware of this.