Game Development Reference
In-Depth Information
This shows the different parameters for the Teddy character; we'll only be setting
Speed
. Go back to the
Animation
tab for Teddy to set up
Start Parameter
under
Base Layer.Run
. Set the
Parameter Name
field to
Speed
and leave the
Parameter
Type
field to
Float
and the
Parameter Value
field to
1
. Then, do the same for
Base
Layer.Idle
, except set the
Parameter Value
field to
0
. The new settings should look
like this:
This sets up the animation. Now we can set up the behavior tree for Teddy. Create
a new behavior tree called
WalkTeddy
and recreate the behavior tree from
WalkPenelope
.
Note
With RAIN, you can copy and paste nodes from one part of a tree to another and
from one tree to a different one.