Geeks With Blogs
Prabhu Kumar a tech twaddler..
Hi there! The marbles finally collide and collide they do! (: I came across this thread, where Professor Fu-Kwun Hwang has a nice applet on collisions. If you go through the entire thread, professor Hwang explains the equations and mathematics related to elastic two-dimensional collisions.

The calculations for a collision is a mathematically involved affair, as I had mentioned in my previous post. I can't say I fully understand the computations yet, maybe I will look into the details later (: Anyways, the marbles collide and deflect off each other pretty nicely.

I'll let the video do the talking:

I will explain the code in my next post, gotta get up early tomorrow (: Goodnight!

Posted on Thursday, July 16, 2009 12:36 PM | Back to top

Comments on this post: Bouncing/Colliding marbles, DirectDraw, Part 7

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © TechTwaddle | Powered by: