Virtual joystick resize issue

Hello guys!

In this demo i found out, a visual bug when you resize a joystick:
Joystick leaves a trail of the texture after you move it or just looks weird.
Same on the all browsers and on custom website

Note: I’ve noticed that after you use setter to resize puck or container in VirtualJoystick class, some of the private values remains the same, like _clearPuckSize and _clearContainerSize

that’s interesting. Let’s check what happened there :slight_smile:

Clear an extra 1-pixel border around the virtual puck by RaananW · Pull Request #13639 · BabylonJS/Babylon.js (github.com)

2 Likes