Macaw OS C reference

Function pickable3d

#include <macaw3d.h>
void pickable3d(int e, const char *shape);

Lets rays and the mouse hit a thing, so pick and campick3d can find it.

Parameters

eint
The thing's number.
shapeconst char *
"mesh" (its exact shape), "sphere" (a ball round it), "box" (tested exactly, like "mesh") or "none" to stop it. NULL: "mesh".

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