Libraries‎ > ‎orbits‎ > ‎

Defining the x, y and z of velocity

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 endto-report yvelocity report [ ycor - my-origin-y] of my-velocity endto-report zvelocity report [ zcor ] of my-velocity end

End NetLogo code

Authored by Maria Marinari and Ken Kahn.

BehaviourComposer: ignore everything after this.