 |
Seeking, Fleeing, Wandering
I've started to add a degree of internal "intelligence" to the vectoragents. They will now [wander] around whenever they are too far away from the target to be able to 'see' it. When the vectoragent wanders close to the target, it will immediately revert to [seek] mode and veer towards the target. Clicking the mouse button will make the agents [flee].
The adjustable parameters are:
[nimbleness] - This determines how quickly the vectoragent can turn to change direction.
[maxSpeed] - This is the maximum forward speed the vectoragent can attain.
Download .FLA
|