CS121 Project 2

Collision Response Vector



Suppose a particle moving with constant velocity vavg collides with a surface. The response velocity is d[vavg - 2(vavgn)n], where d is a damping factor and n is the surface normal.



To see this, first consider the vector u=(-vavgn)n shown in the figure below.



Next let w = vavg + u = vavg - (vavgn)n.



Then the reflected vector is -vavg + 2 w = -vavg + 2(vavg - (vavgn)n) = vavg - 2(vavgn)n.