I'm trying to create a floor with a plain representing each tile. Instead of having tons of objects, I thought it'd be better to make a mesh out of the first plain and just add each tile as a limb.
With my code I placed the first plain vertically (so no rotation) then made another one in a different location based off the mesh data, but for some reason one side of the plain is invisible. If you move past it and look from the other side, it is there. Here's my code:
void initWorld()
{
//Create a plain mesh
dbMakeObjectPlain(fObj,tWidth,tHeight);
dbMakeMeshFromObject(1,fObj);
//Add a limb to main object
dbAddLimb(fObj,1,1);
dbOffsetLimb(fObj,1,tWidth,tHeight,0);
dbRotateLimb(fObj,1,180,0,0);
dbSetLimbSmoothing(fObj,1,100);
//Set floor properties
dbSetObjectWireframe(fObj,1);
//dbRotateObject(fObj,90,0,0);
dbTextureObject(1,1);
}
Is this a common problem and is there any way around it?