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...
September 21, 2012 9:01 PM