Added equation to know when object hits ground