Function collisions
#include <macaw3d.h>void collisions(int a, int b, const char *shape, const char *response);
Makes things of one collision type bump into things of another.
Parameters
aint- The type of the things that move and bump, as given to
collide3d. bint- The type of the things they bump into.
shapeconst char *- How the
bthings are tested:"mesh"(exactly),"box"or"sphere".NULL:"mesh". responseconst char *"slide"to slide along what they hit, or"stop"to stop.NULL:"slide".
In The scene, with render, updateworld, resetcollisions, pick, ambient, clearworld.