Game Development Reference
In-Depth Information
The Character Motor Component
The Character Motor is the script that controls the rest of the First Person Controller's functionality.
1.
Select the First Person Controller again.
2.
In the Character Motor script, open the Movement, Jumping, Moving
Platform, and Sliding sections (Figure 3-11 ).
Figure 3-11. The Character Motor component, expanded
As you can see, besides the various parameters, Jumping, Moving Platform, and Sliding can be
turned off individually. All of these parameters, by the way, could be exposed to the player with a
GUI and some scripting. Let's test a few of them in Play mode so you won't have to remember their
original values.
 
Search WWH ::




Custom Search