Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

More collision tests

Sign in to follow this  
Jesse Chounard


Unsurprisingly, you don't get much done on a project when you only spend a few hours a week on it. But that's fine, as when I do feel like working on it, I'm having alot of fun.

I found a need for checking collisions with circles, so that's what I've been working on. I find it kind of sad that I've skipped over doing the low level graphics or audio systems by using XNA, but I'm still working on something that should be considered already solved.

Circles vs. Line Segment Collision:

If I add a little gravity, the circle slides nicely down the slope. And I'm handling the endpoints, so there's no gap, no matter which way you push the circle against the line. If anybody wants to see the source, just lemme know. It's not terribly complicated.

This stuff is all mostly still from the N tutorials. I just recently learned that a version of N is coming to xbox live arcade. Happy times.

On an unrelated note, I finished Bioshock last Sunday. (I didn't do much in my free time but play it once I got it.) Freaking fantastic. I'm looking forward to playing it again.
Sign in to follow this  

1 Comment

Recommended Comments

Only just caught up with this journal. Nice to see someeone else playing around with polygon collisions. Looks like you've got further than me already.

Glad to hear there is another N fan on these forums as well. The tutorials on that site are okay, but for my money, Olii's Tutorials are as good as it gets.

Best of luck and welcome to journal-land. I'll keep watching this journal for developments.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 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!