Graphics Reference
In-Depth Information
Figure 15-8 Settings for the Walk Action actuator
6. Connect the actuator to the controller in the same way you connected the sensor to the controller. If
you enter the BGE game play mode now with the P key, you will find that pressing the up-arrow key
on your keyboard will activate the walk cycle. This is the first step to getting your character to be fully
controllable.
7. At present, the character is going through the motions of walking, but it's not moving anywhere. To
make the character move, you need to add a Motion actuator, as shown in Figure 15-9 . If your armature's
axes are the same as mine, the forward movement for the armature is in the negative Y direction. On the
Motion actuator, the three columns of values represent x-, y-, and z-axes in that order, so to make the
object move along the y-axis negatively, put a negative value in the middle Loc field. A value of -0.05
will yield an appropriate speed. The L button you see to the right of those values ensures that the local
coordinates are used, so it should be selected.
 
 
Search WWH ::




Custom Search