Creating Behaviors
Behaviors
- A behavior can do anything
- Perform computations
- Update its internal state
- Modify the scene graph
- Start a thread
- For example, a behavior to rotate a radar dish to track an object:
- Wakeup frequently
- Get the object's location
- Create transform to re-orient radar dish
- Set TransformGroup of radar dish
- Return