Overview
The demon doesn't do a lot it his Idle yet... He looks at you and disappears after a while!
NOTE: In the FSM diagram you can see that a MOUSE OVER event triggers a transition to Disappear.
To get the full picture, you have to look at the FSM diagram and Actions together.
Actions
Look At Look at the main camera stored in the camera variable. |
|
Send Event Send a delayed event to transition to Disappear. We use a variable for the timeout value so that other FSMs can manipulate the value. |
Exercises
- Use Animate Float and Translate to make the demon hop up and down in this state.
- Use Enable FSM to enable an Idle FSM on the demon that's only active in Idle. This keeps this FSM simple, while adding interesting behavior. Look for every opportunity to keep things simple while achieving your goal!