ball height adaptation to floor