Game Development Reference
In-Depth Information
Figure 23-4. Balance board example
It is easy to intuitively recognize that the center of gravity must be over the center of the
board in State A and toward the lower-right corner in State B. However, to get the exact
location of the center of gravity in State B, we'll have to do a little more work. First things
first: we have to define a coordinate system. This is shown in Figure 23-5 .
Figure 23-5. Balance board coordinate system
 
Search Nedrilad ::




Custom Search