A flying unit would fly through the ground if it didnt go up for deformations. Hmmmk? But if thats the result you are going for, simply go into the object editor, hmmmk? Select the base flying unit and change its "Movement Type" from flying to NONE, this should get the result ur looking for, hmmmk?