Physics:2D Physics Engine:Rotation
From GPWiki
The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server. However, the GPWiki forums are still active! Come say hello. The following article is part of a series:
[edit] Quick Vector Math ReviewThe cross product (the
[edit] Applying a force at a pointTo apply a force at a point, two equations are required: one for linear motion and one for rotation. [edit] Linear MotionLinear motion is rather simple. It it equal to the force applied:
[edit] Rotational MotionRotation is slightly more complex, but just as easy to implement:
|
symbol representing the cross product) of two 2-dimensional vectors is:
: The linear force that is to be applied to the object
: The force placed upon the object
: The torque that is to be applied to the object
: The point, relative to the center of gravity of the object, that the force is applied at


