Jump to content
  • Advertisement
Sign in to follow this  
mwkenna

2D collision detection and response in XNA

This topic is 2313 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Guys

I am looking for a good code example of a collision detection routine that can handle multiple fast moving objects in XNA. I have been researching SAT but I can't seem to get the MTD response code to work properly when working when there are multiple resolutions.

Please could someone post either a link to a good tutorial or preferably some sample code which achieves what I need?

I won't be copying any code I just want a worked example that I can step through in the debugger in order to understand what's happening.

Thanks,
Mark.

Share this post


Link to post
Share on other sites
Advertisement
Hi Mark,

Perhaps this might be of use to you?

Additionally if you just want to start off with rectangle collision, which might be easier to follow and see what's happening in the debugger, then the previous tutorial should help you.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!