Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detecting the size of a users finger on touch

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

like image 971
user4090 Avatar asked Dec 28 '11 02:12

user4090


1 Answers

A solution for devices that don't offer the touch.getSize() function, you can have on the start screen a high resolution plot of 2d points. On touch, detect the ones touched and there you can have a pretty accurate area of how big the finger is.

like image 148
namar0x0309 Avatar answered Nov 11 '22 17:11

namar0x0309