I modified a copy of "knights on wheels" code so that it loads a terrain and tiles it around the center tile. When the code starts, the car is on the center tile and if I drive the car to the next tile, the car falls off the tile. How can I fix the problem?
physX_open();
level_loadendless("ground.hmp");
terrain_tile(level_ent);
ent_createlayer("skycube+6.dds",SKY|CUBE|SHOW, 0);
pXent_settype(level_ent,PH_STATIC,PH_POLY|PH_MODIFIED);