we have been working with starling for quite a while. However, we are struggling to understand why hitTest() in starling is only able to detect a hit toward Local Point.
Does this mean, when I drag around a DisplayObject with 100px in width and height, we will never be able to detect anything when we call DisplayObject.hitTest towards a point(200,200), no matter how I move?
Also, we are quite confused about the DisplayObject that hitTest returns. What is this obejct? is it the actual image under the Point the hits occur, but not the container that contains this image?
What if we have many parent-children structure in a sprite class. Would the hit detection be quite confusing?
Also, if we already know the Point where the hitting happens, why would we want to return the things we hit?
Are we thinking in the wrong direction? We are wondering what the correct way of using this hitTest is?
Some hint on understand this hitTet would be really appreciated. Thank you.