I am searching for proper equation / code for doing
2d rigid body collision response physics,
(by equation / code I mean computing update step-frame values
for linear and angular velocities of rigid bodies at some collision
point and moment)
The best i found till now was
http://www.myphysicslab.com/collision.html
here is some equation in orange frame, I implemented this
in simple case when collision is between rigid body and wall
but not to carefull (I was doing it three months ago) and as far
as I remember it worked though not too perfect in my opinion.
The problem with this is that it assume no friction, when vertice
of rigid body hits the wall no friction is assumed and it seem
to be wrong for me. I thing there should be tangent friction in
point of collision but I am to weak to build a proper equation
and code for that case (and also I cannot find it in the network)
could someone tell me how it should be look like with tangent
friction involved ? i need somewhat correct physical model
to that.. Or maybe some link to some tutorial of code about that?
(but do not send me to general physics books or some muddy
source of box2d or something like that - I am looking for this
specific answer, proper equation or pure routine.