I'm using VB6 and I have made a baseball game where a flyball at times will fly to the outfield. I also have a shadow for the ball. I need to make the arcing ball and the shadow that runs along the ground, converge at the point where the ball strikes the ground. I simply can't get this formula right. The shadow should simply travel the same velocity as the ball for the same amount of time, but without a vertical component. Pretty sure there's Sin etc involved, but I just can't seem to find the right application of it. Can someone provide me with a resource or the detailed mathematical formula to solve this problem?
Here is a link to a JPG drawing of the problem:
Many thanks for any assistance...
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:email@example.com
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: