Stage3d touchevents not accurate
Hello,
i have a problem with touch-events not being accurate on Mobile devices. On the desktop there are no problems.
I noticed it first when working with Starling. i have a sprite moving from left to right over the stage, which the user has to tap, i.e. a pickup/coin.
When the coin is not moving, the mouse/touch event fires correctly, but when it is moving over the stage, i seem to touch the stage just before the coin to get a touchevent on the coin. this seems to be increasing, the faster the coin is moving.
Later on, i worked with away3d, where i have a rotating mesh (also a pickup/coin). When it is not moving, i can click it correctly, but when it is moving, the same thing seems to happen as it does with the starling-sprites.
I'm starting to wonder if it is starling and/or away3d related, or maybe it has something to do with stage3d. It seems that the air-player internally thinks the object is already further then it actually is on the screen.
i created 2 posts for this issue also on stack overflow:
http://stackoverflow.com/questions/17103740/as3-air-mobile-click-and-or-touchevents-on-moving-objects
http://stackoverflow.com/questions/16857841/starling-touchevent-on-sprite
Anyone also experiencing this issue? Am i forgetting something? I tried it on different devices, different frame-rates, different events and different approaches (touch-event on stage instead of the object itself etc).
Thanks in advance
- Marijn
