385

Creating behaviors
Creating behaviors

  • Every behavior contains:
  • An initialize method called when the behavior is made live

  • A processStimulus method called when the behavior wakes up

  • Wakeup conditions controlling when to wakeup next
  • Respecified on each wakeup
  • Scheduling bounds controlling scheduling
  • When the viewer's activation radius intersects the bounds, the behavior is scheduled