Hello,
You have to turn on the collision of your floor.
I'm using this an it works:
dbSetObjectCollisionOn (0); // 0 is my camera
dbAutomaticCameraCollision (0, 9.0f, 1 );
//Then your floor:
dbSetObjectCollisionToPolygons (10); // 10 is for example your floor
You also have other possibilities to turn on collision.
From DarkSDKBasic3D.h
void dbSetObjectCollisionOn ( int iID );
void dbSetObjectCollisionOff ( int iID );
void dbMakeObjectCollisionBox ( int iID, float iX1, float iY1, float iZ1, float iX2, float iY2, float iZ2, int iRotatedBoxFlag );
void dbDeleteObjectCollisionBox ( int iID );
void dbSetObjectCollisionToSpheres ( int iID );
void dbSetObjectCollisionToBoxes ( int iID );
void dbSetObjectCollisionToPolygons ( int iID );
http://www.Computer-Masters.de