Game Development Reference
In-Depth Information
Figure 3-15. The capsule fit to the tree trunk (top), and the collider's values (bottom)
12.
Click Play, and drive the First Person Controller into the tree.
13.
Stop Play mode.
Now that you have made sure the tree will stop the First Person Controller, you have to update the
prefab to include the new component before refreshing the terrain's trees.
1.
With the BigTree selected, at the top of the Inspector, click the Apply button
at the right of the Prefab line (Figure 3-16 ).
Search WWH ::




Custom Search