# Collision detection "game map"

**URL:** <https://forum.kirupa.com/t/collision-detection-game-map/46412>\
**Category:** flash\
**Created:** [March 24, 2004, 11:43am UTC](https://forum.kirupa.com/t/collision-detection-game-map/46412 "2004-03-24T11:43:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CrE3pZ](https://avatars.discourse-cdn.com/v4/letter/c/a4c791/32.png) [@CrE3pZ](https://forum.kirupa.com/u/CrE3pZ)\
**Post date:** [March 24, 2004, 11:43am UTC](https://forum.kirupa.com/t/collision-detection-game-map/46412/1 "2004-03-24T11:43:09Z")

</div>

Hi there. I’ve got a slight problem, maybe you could help me…

scene:  
- a ‘person’ / object  
- a map

the map has wholes and edges on it AND is placed in a 45/45/45 degree angle.

Problem:  
I want to do a collisioncheck between the ‘person’ and the map. All that to accomplish the person not walking off the map.  
The HitTest option from flash does not resolve my problem because it does not look at the content of the movie but the boundingbox.

I’m sorry, my english is not that good as it should be, i’m from the netherlands…

Thanks in advance
