Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

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.

share|improve this answer

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

share|improve this answer

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

Hope that helps.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.