# Collision Detection and Bounce Physics

**URL:** <https://forum.kirupa.com/t/collision-detection-and-bounce-physics/286546>\
**Category:** programming\
**Created:** [April 16, 2009, 9:27pm UTC](https://forum.kirupa.com/t/collision-detection-and-bounce-physics/286546 "2009-04-16T21:27:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mew](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@mew](https://forum.kirupa.com/u/mew)\
**Post date:** [April 16, 2009, 9:27pm UTC](https://forum.kirupa.com/t/collision-detection-and-bounce-physics/286546/1 "2009-04-16T21:27:13Z")

</div>

Hi guys, im in need of an accurate method of detecting a collision between two DisplayObjects. Also it would be nice if the collision also delivered info on how a ball should react to the collision.

Ive read up a bit on pixel perfect collisions using small bitmaps. However my attempts are not proving succesful. Im semi done with a Class that does what i want but i cant get it to work properly.

If anyone seems up for the task of fixing it i wouldnt mind sending it.  
Other than that, anyone have something similar to the class im looking for ?

Pixel perfect, bounce hittest 🙂
