Macaw OS C reference

Function move3d

#include <macaw3d.h>
void move3d(int e, double x, double y, double z);

Moves a thing along the way it's facing, so you can walk a camera forward whichever way it points.

Parameters

eint
The thing's number.
xdouble
How far to move to its right, in world units (negative: left).
ydouble
How far to move up from its own point of view.
zdouble
How far to move forward (negative: backward).

In What every thing can do, with position3d, translate3d, rotate3d, turn3d, point3d, pointat3d, scale3d, parent3d, pos3d, forward3d, up3d, dist3d, hide3d, show3d, visible3d, texture3d, color3d, fullbright3d, twosided3d, free3d, height3d, collide3d, hitcount3d, gethit3d, pickable3d.