you want to know the distance between the ball and the ground? if so, you can do a simple trace down from the ball position. get the target (vector which is being set when the trace hit something), and do a vec_dist between target and ball. You'll know the exact quants between the floor and the ball then.