VirtualJoystick does not detect release when it is hidden

Skylonxe
Fri, 29 Jul 2016 04:50:19 +0000
UI

1. Create new Blank blueprint project (Mobile/Tablet + Scalable 3D or 2D + No Starter Content)

2. Open Level Blueprint

3. Add any key press event (E button is ok)

4. Add Get Player Controller node

5. Add Activate Touch Interface (it is inside Player Controller class, so you need to drag line out of Get Player Controller) and connect it to key press event

6. Leave NewTouchInterface pin empty, so should just disable current touch interface

7. Start PIE, hold left joystick, so you are constantly moving and press your button (E key) while you are moving
= Virtual joystick is now hidden, you can release your mouse button (or finger) and you will notice that you are stucked moving in last direction of movement.

Happens on mobile too.

4 posts - 1 participant