Returns the height of the center of the object above the ground.
The height could also be negative this happens when the object is below the ground and there is nothig
below the object. The function uses STATE_object_is_movement_possible() to calculate the height