The initial linear speed (in both x and y direction) of the ball when John hits him.
The starting position of the ball when John hits it. (x and y coordinates of value)
The value of gravity.
And the direction is the negative y-direction, of course. 32.2 ft/sec^2 = 9.8 m/sec^2 , right?
The y value of the floor position where the ball will fall.
He will hit y = 0 if the other player does not touch him.
The angle at which John hits the ball.
I think it would be better to say something about the force that John applied to the ball and for how long.
The ball follows the trajectory.
No, you do not have such a thing. This is what you are trying to solve.
You have Newton's law: F = ma, where force is the vector of the force applied to the ball, m is the mass of the ball, a is the acceleration vector applied to the ball.
The ball is accelerated by gravity in the negative y direction, of course, but you forget the force vector that the player applies when the ball hits.
Once you have those, you solve two related ODEs in time.
source share