AUTONOMOUS AGENTS

askROMvectoragent1a

Whenever the agent's blue "steering force" is changed (either the angle or power), the agent will rotate to a new position to follow that force. The green arrow indicates the resulting vector that the agent is trying to reach.

The steering force represents the agent's "intention" to move in a new direction to seek a target or avoid an obstacle. The stronger the steering force, the more quickly the agent will turn.

Vector addition is cool: Notice that whenever the blue steering force vector is weak it has less effect on the green resultant vector. This is useful to indicate (for example) that the agent knows where it wants to go but doesn't want to go there very badly.

Download .FLA

The next step will be to propel the agent forward along the green resultant vector.

Go to next episode



email me