Sign in to follow this  
  • entries
    7
  • comments
    6
  • views
    6518

More collision tests

Sign in to follow this  
Jesse Chounard

193 views

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