using per pixel collision for an elastic response

Posted by Codejoy on Game Development See other posts from Game Development or by Codejoy
Published on 2012-07-30T19:38:43Z Indexed on 2012/08/29 21:52 UTC
Read the original article Hit count: 170

Filed under:
|
|

I realize this might be open ended ended but curious if I just did some over kill...

I had this

http://create.msdn.com/en-US/education/catalog/tutorial/collision_2d_perpixel

and i reworked it to work with my animation code in XNA and what not. It works well, but now I want to use this to decide if there was a collision and to have the items (characters) bounce off eachother elastically. Was the per pixel too much and I could of just used a bounding box ? (in fact would that of been preferred for what needs to be calculated in the response for an elastic collision?)

Looking for guidance really.

© Game Development or respective owner

Related posts about XNA

Related posts about c#