hittest for complex objects


i have border mc surrounds stage , protrudes stage. mc can moved around within border using arrow keys. i've set hittest movable mc can't cross part of border. tried making mc hollow s-shape spins. movable mc supposed able go through s-shaped mc without hitting edges. instead of registering actual s-shape border, hittest registers edge of mc s-shape in. means if movable mc doesn't touch sides of s-shape still registers hit. so, how come hittest works complex objects being used border, not ones in middle of stage?

hittests check collisions of bounding rectangles.  shape-based hittest check gskinner's collisiondetection class.



More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support