Multiple sphere collision response
Posted: Wed Mar 02, 2011 4:24 pm
Hi dudes.
So I'm toying around with writing my own physics 'engine' and am currently working with spheres colliding with each other.
I found an articles which gives a seemingly great way of handling two spheres colliding with each other and correctly bouncing off each other.
But when more than two spheres collide with each other it all goes to heck and a handbasket and the spheres start intersecting with each other... floating like helium balloons and generally spazzin out bit time stylee...
Googling I have been unable to find any articles explaining how to do multiple sphere collision response... I have been told, and am finding myself, that it's a much much much bigger problem to solve when you add in extra spheres...
I'm surprised that there's nothing out there that I can find... Does anyone know of any articles that might help?
Here's the article that showed me how to do two spheres colliding: http://wp.freya.no/3d-math-and-physics/ ... -response/
Note that they have three spheres in their test app but they've engineered it so they never collide all at the same time... sneaky beggars!
So I'm toying around with writing my own physics 'engine' and am currently working with spheres colliding with each other.
I found an articles which gives a seemingly great way of handling two spheres colliding with each other and correctly bouncing off each other.
But when more than two spheres collide with each other it all goes to heck and a handbasket and the spheres start intersecting with each other... floating like helium balloons and generally spazzin out bit time stylee...
Googling I have been unable to find any articles explaining how to do multiple sphere collision response... I have been told, and am finding myself, that it's a much much much bigger problem to solve when you add in extra spheres...
I'm surprised that there's nothing out there that I can find... Does anyone know of any articles that might help?
Here's the article that showed me how to do two spheres colliding: http://wp.freya.no/3d-math-and-physics/ ... -response/
Note that they have three spheres in their test app but they've engineered it so they never collide all at the same time... sneaky beggars!