# Collision detection

**URL:** <https://forum.kirupa.com/t/collision-detection/186022>\
**Category:** Uncategorized\
**Created:** [April 18, 2006, 2:24pm UTC](https://forum.kirupa.com/t/collision-detection/186022 "2006-04-18T14:24:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcurrid](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@pcurrid](https://forum.kirupa.com/u/pcurrid)\
**Post date:** [April 18, 2006, 2:24pm UTC](https://forum.kirupa.com/t/collision-detection/186022/1 "2006-04-18T14:24:58Z")

</div>

I’m having some problems detecting collisions with a small game I’m working on, at the moment I’m only trying to detect collisions between objects using their .x position and 1/2 of their width, and using trace if they collide.  
There are so many ways to detect collisions it seems,  
I’m using a for loop though…  
any ideas?

---

<div class="post-metadata">

**Author:** ![Skinny\_T](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Skinny\_T](https://forum.kirupa.com/u/Skinny_T)\
**Post date:** [April 19, 2006, 3:05pm UTC](https://forum.kirupa.com/t/collision-detection/186022/2 "2006-04-19T15:05:58Z")

</div>

Nice engine! did you code that? I’d sugest checking out flashkit for the mariokart engine (that rocked. we should steal it :lol:). Hopefully it’s still there in the games forum.
