I'm working on a 2D physics engine somulator and I want it to be very accurate on a Physics point of view. Currently I'm making some researchs about how rigid body collisions may be calculated, and I've found this page, that presents the following equation:
Where $w$ is the angular velocity, $j$ is the impulse during the collision, $r$ is the radius and $\hat{n}$ is (I'm not sure but I am guessing) a normalized vector.
My question is about what exacly is $I^{-1}$ .It says it's an inertia tensor, but for what I know it is used for 3D objects. Since my engine is 2D, may I simply use this formula:
Which is presented here as the moment of inertia of a rectangle. If yes, should I still use the (-1) power?
Btw, I would also accept a link to some pdf explaining how collisions change angular and linear momentum in 2D... this wikipedia page was the best I could find.