Move Forward
BehaviourComposer: ignore everything before this.
I move forward at a constant speed.
Begin micro-behaviour
MOVE FORWARD
Begin NetLogo code:
do-every delta-t
[go-forward 1 * delta-t]
End NetLogo code
Variants
The 1 is the speed (in patches per second) of this agent. It can be changed to any other value or replaced by the value of a slider, an attribute, or a random distribution.
Related Micro-behaviours
Any behaviour that changes my heading can work together with this to produce non-linear motion. Examples are TURN-RANDOMLY, TURN-TOWARDS-GOAL, and TURN-IN-DIRECTION-AT-MAXIMUM-SPEED.
How this works
This moves the agent in the direction of its current heading by a constant amount on each cycle.
History
This was implemented by Ken Kahn.
BehaviourComposer: ignore everything after this.
page_revision: 4, last_edited: 1236708994|%e %b %Y, %H:%M %Z (%O ago)





