# what do i do after angle.

This topic is 5110 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

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.

##### Share on other sites
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).

##### Share on other sites
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.

Does that help?

##### Share on other sites
i thinks so, thanks, ill try and do that.

##### Share on other sites
Let me know if it works. I haven't had the time to implement it myself.

1. 1
2. 2
3. 3
Rutin
15
4. 4
5. 5

• 10
• 9
• 9
• 11
• 11
• ### Forum Statistics

• Total Topics
633682
• Total Posts
3013306
×