Touch finger size detection

I was wondering if there is a way to find out the size of the face finger when they touch the Android device. I want to know this, so I can change the sensitivity of certain objects in my game.

+6
source share
1 answer

A solution for devices that do not offer the touch.getSize () function, you can have a graph with a high resolution of 2d points on the initial screen. To the touch, find the affected ones and there you can have a fairly accurate area as far as the thumb.

+2
source

Source: https://habr.com/ru/post/904572/


All Articles