- Hello, so I've been recently using
hitTestObject
to detect collisions in an android app I'm making. After testing for a bit, I realized that the game was detecting "fake" collisions. What I mean by this is that it was detecting a collisions not when the pixels of an object(s) are touching, but (after doing a bit of research) I found out that the boxes of the objects where colliding. So I had the game stop with a collision, and this is how it looks like:
I tried outlining the two object's boxes, for clarity. As you can see their boxes are touching. Is there any way to have it detect when pixels collide?
- I assume there would be something online for this, but I do not know what. The game is programmed through the actions window, not a class files, so there is no package, nor class, and any collision detection "function" online, that need a class to work, probably won't work here.
Anyway: is there any way in actionscript-3 to detect pixels colliding, and if so. What function and/or command could I use for that?