away3d / away3d-core-fp11

Away3D engine for Flash Player 11
http://www.away3d.com
Other
639 stars 274 forks source link

mouse3d on iOS not working correctly #645

Open matej-snivam opened 11 years ago

matej-snivam commented 11 years ago

http://away3d.com/forum/viewthread/4597/

here is discussion, john brookes provided quick fix

matej-snivam commented 11 years ago

that quickfix needs to be added on mouse move and mouse over also

matej-snivam commented 10 years ago

Ok,

seems that after your fix, the problem still persists on mouseMove event.

adding this at the beggining of MouseMove fixes the problem if only mouse move is used.

        _activeView = (event.currentTarget as View3D);
        updateCollider(_activeView); // ensures collision check is done with correct mouse coordinates on mobile

Didnt test it in usage with multiple event listeners