Game Development Reference
In-Depth Information
7.
Click Play.
The Lid is bumped by the spinning Cube (Figure 3-26 ).
Figure 3-26. The Lid bumped as the Cube spins
The most logical thing to try next is to link the lid to the Cube.
8.
Stop Play mode.
9.
At the top of the Hinge Joint component, drag the Cube into the Connected
Body field.
10.
Click Play.
This time the Lid flaps open from the Cube as it spins along with it (Figure 3-27 ).
 
Search WWH ::




Custom Search