Game Development Reference
In-Depth Information
9
. Now, click on the
First Person Controller
object in the
Hierarchy
view to bring up the
Inspector
view, and set up the
Transform
|
Position
of
X: 0
,
Y: 1.16
,
Z: 0
. Then, go to
the
Character Controller
, and set all values as follows:
F
Character Controller (Script)
F
Height
:
2.25
F
Center
X: -0.8
,
Y: 0.75
,
Z: 1.4
10. Move down one step by clicking on
Main Camera
in the
Hierarchy
view and go to its
Inspector
view to set the value of
Transform
and
Mouse Look
as follows:
F
Transform
F
Position
X: 0, Y: 1.6, Z: 0
F
Mouse Look (Script)
F
Sensitivity Y: 5
F
Minimum Y: -15
We will leave all the other parameters as default and use the default values.
Then, we will go down one more step to set the
Transform
of the
robot
by clicking on it to
bring up its
Inspector
view, and set the following:
F
Transform
Position
X: -0.8
,
Y: -0.8
,
Z: 1.4
Rotation
X: 0
,
Y: 10
,
Z: 0