I am developing an air hockey game and trying to make collisions as realistic as possible. So giving the paddle which is controlled by the mouse a mass and taking into consideration the velocity of it. I have found this code but was wondering if there is a simpler way to do it? or if porting it might be the best option. Also I am using XNA 4.0