1
Support / Object Selector
« on: March 19, 2012, 06:58:00 pm »
I looking for some method to select object by touch it?
I know that I need some loop through all objects to check is current place what MotionEvent pointing is not in collision detect with some object.
I already have method which return a SimpleVector from 2D touch surface.
Only question is how to check if this vector is not in collision with some object.
I know that I need some loop through all objects to check is current place what MotionEvent pointing is not in collision detect with some object.
I already have method which return a SimpleVector from 2D touch surface.
Only question is how to check if this vector is not in collision with some object.