# Rpg ai hit-tests

**URL:** <https://forum.kirupa.com/t/rpg-ai-hit-tests/257177>\
**Category:** Uncategorized\
**Created:** [April 10, 2008, 9:56pm UTC](https://forum.kirupa.com/t/rpg-ai-hit-tests/257177 "2008-04-10T21:56:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mordormaster](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@mordormaster](https://forum.kirupa.com/u/mordormaster)\
**Post date:** [April 10, 2008, 9:56pm UTC](https://forum.kirupa.com/t/rpg-ai-hit-tests/257177/1 "2008-04-10T21:56:09Z")

</div>

hiyar  
i have been working on a pretty big rpg and have realised my ai is flawed, when it comes into contact with the object, called map, there the walls, i want it to bounce off the walls instead of walking throught them, so i divided it up into quarters and so when it hittests that quarter is bounces it away the correct way, but it aint working for me, can anyone have a look at it for me  
thank you in advance 🙂
