Get launch vector and force for a trajectory
Hi I am not good at physics math... Please bare with me and help me with this question :)
I have a launch function that requires a launch vector(Vec3) and a launch force(float). Today, I have the start point and the end point for the trajectory, how do I calculate the launch vector and launch force for the trajectory?
Note1: The time can be fixed. Note2: The start point and the end point have different height (z). The end point is always higher.
I am working on a basketball shooting game. I will really really appreciate any help! Thanks!!
Answer by b1gry4n · Oct 21, 2016 at 03:48 AM
This question has been asked many times. In the future try doing a search.
http://answers.unity3d.com/questions/296749/display-arc-for-cannons-ball-trajectory.html
http://answers.unity3d.com/questions/377334/how-to-move-object-parabolic-projectile-path.html
http://answers.unity3d.com/questions/148399/shooting-a-cannonball.html
http://answers.unity3d.com/questions/297328/c-shooting-a-cannonball-ballistics.html
Your answer
Follow this Question
Related Questions
3D Trajectory Prediction 3 Answers
How to make trajectory 3D (Games like Angry Birds,But 3D)? 0 Answers
Trajectory (line renderer) not showing for some angles 1 Answer
Copy and Pasted code for Trajectory and got one parsing error... 1 Answer
Calculate force needed to reach certain point (AddForce) 1 Answer