- #1
Lillemanden
- 5
- 0
Hey.
I have been working on a relative simple 2D physics engine for a game I am making, and as I was researching the subject (rigid body mechanics) I found this article on physics in games. This pretty much answers everything. Though this is one little thing that I cannot figure out. The article says to calculate linear and angular acceleration totally independent of each other but based on the same forces. So the linear acceleration of a body would be all the forces affecting the body summed and divided by the mass of the body. If this is true then the same forces (identical direction and magnitude) applied on the same body but at different points would always cause the same linear acceleration but not necessary the same angular acceleration. How is this possible? I would think that the more angular acceleration the less linear acceleration and vice versa. How else is the total energy level preserved?
I am pretty sure it is just me who has misunderstood something; and an explanation would be very appreciated.
I have been working on a relative simple 2D physics engine for a game I am making, and as I was researching the subject (rigid body mechanics) I found this article on physics in games. This pretty much answers everything. Though this is one little thing that I cannot figure out. The article says to calculate linear and angular acceleration totally independent of each other but based on the same forces. So the linear acceleration of a body would be all the forces affecting the body summed and divided by the mass of the body. If this is true then the same forces (identical direction and magnitude) applied on the same body but at different points would always cause the same linear acceleration but not necessary the same angular acceleration. How is this possible? I would think that the more angular acceleration the less linear acceleration and vice versa. How else is the total energy level preserved?
I am pretty sure it is just me who has misunderstood something; and an explanation would be very appreciated.