So I want to calculate current touch thing’s(human’s finger or other circle shape coin) area space and shape info.
Can I do this at Unity?
Thanks.
So I want to calculate current touch thing’s(human’s finger or other circle shape coin) area space and shape info.
Can I do this at Unity?
Thanks.
What platform are you targeting?
Unity will only get you the touch / finger positions but not more.
If you like to have size of the touchpoint on Windows you would need to read it out of the touch driver of the monitor , and on mobile platform write a native plugin to read it from the OS.
Thanks for reply.
I am targeting Android platform.
How to write that native plugin? Can I read touch space size info from Android OS?
This documentation page should help you getting started in developing a native android plugin for unity
I found a android java class that contains infos about the touches (for example the size), but i’m not sure if the clases are available in the context of a unity plugin. For that i’m not a Native programmer.