I am working on a physics simulator of rigid bodies. I am currently struggling with calculating friction of a rigid body with multiple friction points. The simulator is 2 dimensional and from top down view.
The things that I know:
- Current speed
- Force applied to the center of mass
- Current rotational speed
- Rotational force applied
- mass of the body
- rotational inertia of the body
I would like to know the formulas to calculate the speed and rotational speed affected by the frictional forces.
For example if I have a chair with four legs with different friction coefficients.For simplifications I assume the center of mass is located in the center. Then how would I calculate the speed and rotational speed.
An example situation would be:
- mass(M) = 5 kg
- force(F) = 1 N
- current speed(v) = 2 m/s
- rotational inertia(I) = 3 kg/m2
- current rotational speed (ω) = 4 rad/s
- friction (μ1) = 0.8
- friction (μ2) = 0.5
- friction (μ3) = 0.3
- friction (μ4) = 0.1
- size of chair = 1*1 m
So what would be the acceleration or the speed and rotational speed of the body?