BehaviourComposer: ignore everything before this.
Begin micro-behaviour:
Begin description:
defining the x and y of a body's velocity
End description
Defining the x and y of velocity
Begin NetLogo code:
to-report xvelocity report [ xcor - my-origin-x] of my-velocity end to-report yvelocity report [ ycor - my-origin-y] of my-velocity end to-report zvelocity report [ zcor ] of my-velocity end
End NetLogo code
Authored by Maria Marinari and Ken Kahn.
BehaviourComposer: ignore everything after this.