Josh, to set which geoms can collide with others, use the functions:
dGeomSetCategoryBits(geom, bits);
dGeomSetCollideBits(geom, bits);
Those are form the C API, the one I use. Don't know if they are implemented in the Blitz wrapper.
The category bits set the category of a geom. The collide bits indicates with which categories of objects it can collide. These are "flags" values, so the list of categories should be power of two. For example:
Const GROUP_PLAYER = 1
Const GROUP_WORLD = 2
Const GROUP_BROKENSTUFF = 1
For example, a geom which belongs to the GROUP_BROKENSTUFF category, would collide with GROUP_PLAYER and GROUP_WORLD, but not with other GROUP_BROKENSTUFF geoms.
dGeomSetCategoryBits(geom, bits);
dGeomSetCollideBits(geom, bits);
Those are form the C API, the one I use. Don't know if they are implemented in the Blitz wrapper.
The category bits set the category of a geom. The collide bits indicates with which categories of objects it can collide. These are "flags" values, so the list of categories should be power of two. For example:
Const GROUP_PLAYER = 1
Const GROUP_WORLD = 2
Const GROUP_BROKENSTUFF = 1
For example, a geom which belongs to the GROUP_BROKENSTUFF category, would collide with GROUP_PLAYER and GROUP_WORLD, but not with other GROUP_BROKENSTUFF geoms.