These functions are intended for agents that have 'heading' and 'pitch' built-in variables. Functions access and/or modify agent's built-in variables through its 'x' (first) variable.
Move2D[x, distance] Moves the agent (x) in the xy plane. The agent moves by 'distance' in the direction indicated by its 'heading' built-in variable
Move3D[x, distance] Moves the agent (x) by 'distance' in the direction indicated by its 'heading' and 'pitch' built-in variables
LimitMovement2D[x, x1, x2, y1, y2] Limits the agent's (x) movement to a rectangle (x1, x2, y1, y2). Agent bounces off the sides of the rectangle
LimitMovement3D[x, x1, x2, y1, y2, z1, z2] Limits the agent's (x) movement to a cuboid (x1, x2, y1, y2, z1, z2). Agent bounces off the sides of the cuboid
WrapMovement2D[x, x1, x2, y1, y2] Wraps the agent's (x) movement to a rectangle (x1, x2, y1, y2). Agent appears on the opposite side of the rectangle
WrapMovement3D[x, x1, x2, y1, y2, z1, z2] Wraps the agent's (x) movement to a cuboid (x1, x2, y1, y2, z1, z2). Agent appears on the opposite side of the cuboid
VectorToOrientation[vx, vy, vz, heading, pitch] Calculates heading and pitch from vector v
OrientationToVector[heading, pitch, length, vx, vy, vz] Calculates vector v from heading, pitch and length