flash - actionscript 2 collision detection -


i can achieve bounding box collision in as2 it's not accurate enough needs.

here fla:collisiontest click , drag car; you'll see text box change "true" when collision detected. you'll note can triggered before rotating bar touches badly drawn car.

is there way achieve per-pixel collision, or close as2?

i'm tied as2 rather as3 because of scaleform implementation of game engine i'm developing for.

thanks.

use movieclip.hittest movieclip instances have custom hit areas (using vector shapes). use hitarea property define these custom hit areas.


Comments

Popular posts from this blog

python - Healpy: From Data to Healpix map -

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -