what do i do after angle.
Im crearint a pool game, and i already know how to get the angle of the collision between two balls. but, what do i do with it. How do i use the angle to calculate the velocity of the two balls? I have read through my math book and i just cant understand it. Thanks in advance.
I am doing something very similar. I could help you better if you let me know if you let me know how you represent velocity vectors (magnitude/angle or x/y).
Well, I'll just tell you what I found out thru research:
v1 = velocity of ball #1
v2 = velocity of ball #2
t = position of ball #1 - position of ball #2
n = collision normal (perpendicular to t)
Project v onto n and t. n velocity stays the same after the collision. Figure out the t velocity through this system of equations:
v1m1 + v2m2 = v1fm1 + v2fm1 (Conservation of Momentum)
v1 - v2 = v2f - v1f (Conservation of KE, elastic collision)
Remember, apply each v in the above formulae is actually the t velocity, not the total velocity. I can give you the solutions later (don't have them at the moment). Then, just add vn and the new vt to find the v after collision.
v1 = velocity of ball #1
v2 = velocity of ball #2
t = position of ball #1 - position of ball #2
n = collision normal (perpendicular to t)
Project v onto n and t. n velocity stays the same after the collision. Figure out the t velocity through this system of equations:
v1m1 + v2m2 = v1fm1 + v2fm1 (Conservation of Momentum)
v1 - v2 = v2f - v1f (Conservation of KE, elastic collision)
Remember, apply each v in the above formulae is actually the t velocity, not the total velocity. I can give you the solutions later (don't have them at the moment). Then, just add vn and the new vt to find the v after collision.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement