
-----------------------------------
Dragon20942
Sat Feb 26, 2011 11:34 am

Just Something Else About Circle Collision
-----------------------------------
What is it you are trying to achieve?
Now that I know how to do circle collision, is there a giant physics formula dictating the angles the circles bounce off of each other? I havent learned this in math, but i would like to know the relationships of angle, velocities, spin, etc. have on collision.

-----------------------------------
mirhagk
Sat Feb 26, 2011 10:47 pm

RE:Just Something Else About Circle Collision
-----------------------------------
For the most part it's really just about calculating the normals, and mirroring the velocities on the normals. (for a circle this is that line that connects the two centers of the cicle)

Of course I'm not too sure about collisions, I just normally bounce the angles off in the above way, it may not be 100% accurate although it seems to work. I can't tell you anything about spin, that I am clueless on.

-----------------------------------
Insectoid
Sat Feb 26, 2011 10:53 pm

RE:Just Something Else About Circle Collision
-----------------------------------
Adding in spin requires adding friction and stuff, and takes pretty advanced physics. I'd not try it unless you're really comfortable with vectors and stuff.

Otherwise, just calculate the normal.
