![](sad.gif)
vHitLocation = vStartLocation + (vVelocity * fTime) + (vGravity * (fTime*fTime) * 0.5f);
vVelocity = ??
Do you have any idea on how i could proceed ?
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
vHitLocation = vStartLocation + (vVelocity * fTime) + (vGravity * (fTime*fTime) * 0.5f);
vVelocity = ??
Do you have any idea on how i could proceed ?
vHitLocation = vStartLocation + (vDirection * fSpeed * fTime) + (vGravity * (fTime*fTime) * 0.5f);fSpeed = ??
x(t) = x0 + tv*cos(theta0)*ty(t) = y0 + tv*sin(theta0)*t - g*t*t/2
x(th) = x1 = x0 + tv*cos(theta0)*thy(th) = y1 = y0 + tv*sin(theta0)*th - g*th*th/2
tv = (x1-x0)/(th*cos(theta0))
y1 = y0 + (x1-x0)*sin(theta0)*th/(th*cos(theta0)) - g*th*th/2
y1 = y0 + (x1-x0)*tan(theta0) - g*th*th/2
g*th*th/2 = y0-y1 + (x1-x0)*tan(theta0)
th = sqrt((2/g) * (y0-y1 + (x1-x0)*tan(theta0)))
tv = (x1-x0)/(th*cos(theta0))
quote: Original post by Wizardry
y_coordinate(time) = original_height + (original_velocity * sin(theta)* time) - acceleration_due_to_gravity * time^2
y_coordinate(time) = original_height + (original_velocity * sin(theta)* time) - (acceleration_due_to_gravity * time^2)/2
quote: Original post by Wizardry
The acceleration due to gravity is based on the measurement system, metric is 9.8 m/(s^2) while english is 16 ft/(s^2).
quote: Original post by Wizardry
Peace out.
quote: Original post by python_regious
What do you mean by "English" units? We use metric in Britain.