Avoid Spheres Penetrating Each Other

Started by
1 comment, last by yogeshpatel4all 19 years ago
hi , I have 8 to 10 Spheres in my game . One is Under My control and rest are Automated. What I m doing is , each sphere has it vector .i m passing a delta in each iteration . What i want is , i wanna apply sliding to my sphere if it is collided with rest and if any other sphere is collided with other then they should not penetrate.
Computer Enggineer , Just started working in IndiaGames ltd
Advertisement
Have you read .. Pool Hall Lessons: Fast, Accurate Collision Detection between Circles or Spheres by Joe Van Den Heuvel and Miles Jackson?

For multiple colliders, just check for the earliest collisions. You could probably get away with not even doing that if you have a routine that separates the spheres when they intersect.
....[size="1"]Brent Gunning
Thank U,
i will check that.
Computer Enggineer , Just started working in IndiaGames ltd

This topic is closed to new replies.

Advertisement