Agents can carry an unlimited amount of Sensors that react to Flora's Stimulus types. The following Stimulus types are available:
- Cold
- Heat
- Food
- Light
- Oxygen
Sensors are tuned specifically to a Stimulant and can be configured to activate a specific behavior. The following behaviors are available:
- ACCELERATE
- DECELERATE
- AGGRESSIVE
- COWARD
- LIKES
- LOVES
- EXPLORER
In the example below, the Agent carries a Sensor that senses Heat. When activated, it triggers the 'COWARD' behavior.
Notice, we've updated the World and removed any gravitational forces. We've also updated the 'motorSpeed' property to give the Agent a constant velocity. You should see the Agent navigate the World and avoid the Heat objects.