Rotational Physics - Let's Make a Physics Engine [23]

We will discuss the mathematics and write the code to add rotation to our physics objects so when we resolve the collisions the objects will rotate in a physically accurate manner. Chris Hecker Physics Papers: http://www.chrishecker.com/Rigid_Body... Inertia Formulas:    • Rotational Inertia - Let's Make a Physics ...   Contact Point (Circle/Circle):    • Contact Points (Circle/Circle) - Let's Mak...   Contact Point (Circle/Polygon):    • Contact Points (Circle/Polygon) - Let's Ma...   Contact Point(s) (Polygon/Polygon):    • Contact Points (Polygon/Polygon)- Let's Ma...   Source Code: Flat Physics: https://github.com/twobitcoder101/Fla... Flat: https://github.com/twobitcoder101/Flat Time Codes: 0:00 - Intro 1:12 - Impulse Math with Rotation 2:48 - Creating the New "ResolveCollision" Function 6:04 - Relative Velocity at Points of Collision 13:00 - Calculating the Impulse with Rotation 17:06 - Applying Impulses 20:51 - Applying Rotational Impulses 26:59 - Testing/Running the Code #1 27:36 - Making Corrections #1 27:52 - Testing/Running the Code #2 28:06 - Making Corrections #2 28:23 - Testing/Running the Code #3 29:36 - C#, Moving Array Creation Outside of the "ResolveCollision" Function 32:48 - Adding a Line to Circle Drawing to Indicate Circle Rotation 35:11 - Conclusion