Game Development Reference
In-Depth Information
Figure 5-24. The two colliding cubes
Newton's Law of Gravity
Newton's law of gravity states that every body in the universe attracts every other body in the
universe. For example, assume you have two masses that are separated by the distance R. Mass2
exerts a force of Force on Mass1, and Mass1 exerts a force -Force on Mass2 that is equal and
opposite. (See Figure 5-25 .)
Mass 1
Mass 2
Force
-Force
R
Figure 5-25. Two masses attracting each other
Force is equal to the product of the masses of the two objects, divided by the distance between
them, squared and multiplied by the gravitational constant. (See Figure 5-26 .)
 
Search WWH ::




Custom Search