-
I have a movieclip within a maze
I want the movieclips' bounding box to detect the graphics of the 'maze' clip..
any help with the code would be appreciated.
-
I made a little tutor for you:
http://www.botticelli.cz/files/collision.fla
all codes are written on "character" MC handler
hope this helps
Alex
-
thanks.. you are so very kind..
I thank you but have nothing to offer in return..
make a wish and I could make it so.
-
that works well.. except that because my moviclip rotates.... when its on an angle it can go straight through the walls but when its vertical or horizontal it stops..
-
ichtyfella,
I have one idea to solve problem with rotating, but I did not test it: try to make a new MC from your original MC (so your original MC is inside a new one) and just now try to rotate original clip (= rotate clip inside a new parent clip, so new parent clip do not rotate) and make hitTest on parent clip (it do not rotate, but bounds may be the same as on rotated child clip)....
maybe it helps... let me know...
Alex
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|