From 0f1275d7ba1a7e3ad838423c15d78e23c960f80e Mon Sep 17 00:00:00 2001
From: Matthew Kosarek
Date: Thu, 24 Jun 2021 11:53:05 -0400
Subject: (mkosarek) Updated discussion on what we mean when we say rigid body
---
2d/rigidbody/rigidbody_1.html | 36 +++++++++++++++++++++++------------
2d/rigidbody/rigidbody_1.html.content | 36 +++++++++++++++++++++++------------
2 files changed, 48 insertions(+), 24 deletions(-)
(limited to '2d/rigidbody')
diff --git a/2d/rigidbody/rigidbody_1.html b/2d/rigidbody/rigidbody_1.html
index 9ef056c..8e78972 100644
--- a/2d/rigidbody/rigidbody_1.html
+++ b/2d/rigidbody/rigidbody_1.html
@@ -74,20 +74,32 @@
- What do we mean by 'Rigid Body Physics'?
- In implementing a rigidy body physics system, we're primarily interested in two sub-fields of physics, namely dynamics and kinematics. Although I'm
- far as can be from being an expert in either of these fields, I will explain - from a programmer's perspective - what they mean to me:
+ What do we mean by Rigid Body Physics?
+
+ When we say that the objects in our scene have "rigidbodies", we are assuming the following things:
+
+ - The object can never be disformed by the physics system. This means that, when collisions happen, objects will always bounce off of one another. There will never be an instance where one object squishes or puts a hole into another object. No penetration is allowed.
+ - Mass is uniformly distributed throughout the object. This assumption allows us to think of the rigidbody as a single point, which represents the center of mass of our object. You will notice later in this tutorial that the rigidbody formulas work regardless of the shape and size of the object as a result of this assumption.
+
+ With that knowledge in mind, let's start digging into some implementation.
+
+
+
+ A Tale of Two Sub-Fields
+
+ When discussing a rigidy body physics system, we're interested in two sub-fields of physics, namely dynamics and kinematics. Although I'm far as can be from being an expert in either of these fields, I will explain - from a programmer's perspective - what they mean to me:
-
- -
- Kinematics is the study of how an object's movement changes over time. These are the classic position, velocity, and acceleration equations that you're most likely familiar with from high school or college physics. Kinematics doesn't care about how a system entered into the state that it is in, but rather that the system is in that state.
-
- -
- Dynamics is the study of whats causes kinematic movement. These are the classic force and momentum equations that you may already be familiar with as well. Whereas kinematics only worries itself with the current state of the system, dynamics wants to know how the system entered the state that it is currently in.
-
-
+
+ -
+ Kinematics is the study of how an object's movement changes over time. These are the classic position, velocity, and acceleration equations that you're most likely familiar with from high school or college physics. Kinematics doesn't care about how a system entered into the state that it is in, but rather that the system is in that state.
+
+ -
+ Dynamics is the study of whats causes kinematic movement. These are the classic force and momentum equations that you may already be familiar with as well. Whereas kinematics only worries itself with the current state of the system, dynamics wants to know how the system entered the state that it is currently in.
+
+
- Although the distinction between these two subfields may seem inconsequential, it impacts the conceptual way in which we might begin to setup our 2D rigidbody simulation: the kinematic variables are the data that we act upon, while the dynamics variables are the data that we apply.
+ Although the distinction between these two subfields may seem inconsequential, it impacts the conceptual way in which we might begin to setup our 2D rigidbody simulation: the kinematic variables are the data that we act upon, while the dynamics variables are the data that we apply.
+
diff --git a/2d/rigidbody/rigidbody_1.html.content b/2d/rigidbody/rigidbody_1.html.content
index 6e7d46b..c54fdab 100644
--- a/2d/rigidbody/rigidbody_1.html.content
+++ b/2d/rigidbody/rigidbody_1.html.content
@@ -22,20 +22,32 @@
- What do we mean by 'Rigid Body Physics'?
- In implementing a rigidy body physics system, we're primarily interested in two sub-fields of physics, namely dynamics and kinematics. Although I'm
- far as can be from being an expert in either of these fields, I will explain - from a programmer's perspective - what they mean to me:
+ What do we mean by Rigid Body Physics?
+
+ When we say that the objects in our scene have "rigidbodies", we are assuming the following things:
+
+ - The object can never be disformed by the physics system. This means that, when collisions happen, objects will always bounce off of one another. There will never be an instance where one object squishes or puts a hole into another object. No penetration is allowed.
+ - Mass is uniformly distributed throughout the object. This assumption allows us to think of the rigidbody as a single point, which represents the center of mass of our object. You will notice later in this tutorial that the rigidbody formulas work regardless of the shape and size of the object as a result of this assumption.
+
+ With that knowledge in mind, let's start digging into some implementation.
+
+
+
+ A Tale of Two Sub-Fields
+
+ When discussing a rigidy body physics system, we're interested in two sub-fields of physics, namely dynamics and kinematics. Although I'm far as can be from being an expert in either of these fields, I will explain - from a programmer's perspective - what they mean to me:
-
- -
- Kinematics is the study of how an object's movement changes over time. These are the classic position, velocity, and acceleration equations that you're most likely familiar with from high school or college physics. Kinematics doesn't care about how a system entered into the state that it is in, but rather that the system is in that state.
-
- -
- Dynamics is the study of whats causes kinematic movement. These are the classic force and momentum equations that you may already be familiar with as well. Whereas kinematics only worries itself with the current state of the system, dynamics wants to know how the system entered the state that it is currently in.
-
-
+
+ -
+ Kinematics is the study of how an object's movement changes over time. These are the classic position, velocity, and acceleration equations that you're most likely familiar with from high school or college physics. Kinematics doesn't care about how a system entered into the state that it is in, but rather that the system is in that state.
+
+ -
+ Dynamics is the study of whats causes kinematic movement. These are the classic force and momentum equations that you may already be familiar with as well. Whereas kinematics only worries itself with the current state of the system, dynamics wants to know how the system entered the state that it is currently in.
+
+
- Although the distinction between these two subfields may seem inconsequential, it impacts the conceptual way in which we might begin to setup our 2D rigidbody simulation: the kinematic variables are the data that we act upon, while the dynamics variables are the data that we apply.
+ Although the distinction between these two subfields may seem inconsequential, it impacts the conceptual way in which we might begin to setup our 2D rigidbody simulation: the kinematic variables are the data that we act upon, while the dynamics variables are the data that we apply.
+