4
\$\begingroup\$

Consider two balls moving towards each other. Each has a given mass and velocity. Assuming the balls collide, how can you determine what direction the balls will take afterwards? (taking into consideration the mass & velocity)

I realise it's quite a big question, perhaps someone could direct me to an appropriate tutorial.

\$\endgroup\$

3 Answers 3

3
\$\begingroup\$

I definitely recommend reading Pool Hall Lessons: Fast, Accurate Collision Detection Between Circles or Spheres. It will give you a lot of information about circle to circle collisions, and how to handle them.

\$\endgroup\$
0
\$\begingroup\$

This site has a good tutorial just for your question, I like it because it has a lot of helpful diagrams to help you understand the concept, and gives plenty of example code:

The Physics of elastic collisions between particles

\$\endgroup\$
0
\$\begingroup\$

I think what you are looking for has already been answered on StackOverflow.

Hope that helps.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .