# Surface colision

**URL:** https://forum.kirupa.com/t/surface-colision/125322
**Category:** Uncategorized
**Created:** [October 12, 2004, 3:47pm UTC](https://forum.kirupa.com/t/surface-colision/125322 "2004-10-12T15:47:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![r0ckz](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@r0ckz](https://forum.kirupa.com/u/r0ckz)
#### Post date: [October 12, 2004, 3:47pm UTC](https://forum.kirupa.com/t/surface-colision/125322/1 "2004-10-12T15:47:40Z")

</div>

I make this simple system to simulate a colision of a block in “walls” and bounce like a pong ball. To use drag the orange square and release to start the movement. But i have a problem, sometimes the colision not happen and the block go through the walls, i try less the time of setInterval that verify the colisions but not solve my problem.  
colision system -\> [http://yuri.cotekstudios.com/expz.swf](http://yuri.cotekstudios.com/expz.swf)  
I need help to solve this problem.

tkz.
