# Why can the car still drive through the walls?

**URL:** <https://forum.kirupa.com/t/why-can-the-car-still-drive-through-the-walls/331064>\
**Category:** flash\
**Created:** [May 7, 2013, 7:42am UTC](https://forum.kirupa.com/t/why-can-the-car-still-drive-through-the-walls/331064 "2013-05-07T07:42:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gurre](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@gurre](https://forum.kirupa.com/u/gurre)\
**Post date:** [May 7, 2013, 7:42am UTC](https://forum.kirupa.com/t/why-can-the-car-still-drive-through-the-walls/331064/1 "2013-05-07T07:42:29Z")

</div>

Hello,

I’m making a simple cargame and I try to fix the collision detection right now. I have kind of fixed so the car slows down when touching walls and if you touch the walls, it rotates with 5. Here is all my code: [https://www.dropbox.com/sh/tp50xec8ttfwq38/V90H3dSges](https://www.dropbox.com/sh/tp50xec8ttfwq38/V90H3dSges). But in some places you still can drive through the walls, why is that? You can run the .swf file and then you will understand better how I mean.

Thanks in advance!
