Original Post
My nice little picture describes the situation at hand, which is a simple collision between two spheres. http://www.filepub.com/public/pview/6925/collision.gif From what I've gathered (mostly from http://www.cs.cmu.edu/~baraff/sigcourse/index.html), first what you do is split the velocities for both sphers into two orthoginal components, the tangent and normal. In one of the papers, to find these, the following equations are used: n = normalize(p1 - p2); vn = (n . v)v vt = v - vn This sounds simple enough.. but it doesn't seem to be working right for me. A few questions: 1) Should n be facing the sphere whose velocity you're trying to split up? That is, should the normal in the picture be used to find the components for v1, and the negated n be used to find the components for v2? Maybe opposite? 2) Should the v within the dot product in the first equation be normalized? That seems to help my problem somewhat. Maybe there's something I don't know that I'm completely missing? Thanks in advance!