More collision tests

Published August 30, 2007
Advertisement
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.
Previous Entry Collisions
Next Entry Animation Editor
0 likes 1 comments

Comments

Aardvajk
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.
August 30, 2007 03:13 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement

Latest Entries

Advertisement