I am trying to make a simple 2D physics simulation where many different 2D balls move around and collide with each other. Currently, I am able to resolve their collision for translational motion (i.e. change in velocity in each collision points only in the normal direction to the contact point).
I want to add in the rotation of these balls when they collide in my model. However, it has been surprisingly challenging to find any relevant resources for resolving angular and tangential components in 2D circular collisions, hence I am asking for help on this specifically.
Some example scenarios include:
- A ball falling on another ball below it that is slightly to its left. The friction between these two balls in the collision should generate rotation
- A ball rolling on the ground; its initial angular velocity should result in changes translational velocity relative to its contact point, like a wheel rolling.
Any responses will be greatly appreciated!