- Home /
Calculate a Rigidbody trajectory
Hi, I would like to know how to predict the path that a rigidbody will fly when thrown/shot. The I can either draw a crosshair on the first contact point, or trigger a throw attack.
~ExplodingCookie
Answer by trs9556 · Jul 04, 2013 at 11:45 PM
It is advised that you try to do this on your own and if you fail you then ask the forums/UnityAnswers, that way you usually have some examples of what you attempted to do and we can guide you in the right direction.
Regardless of this above it is also advised that you do some Google searches.
http://answers.unity3d.com/questions/296749/display-arc-for-cannons-ball-trajectory.html http://answers.unity3d.com/questions/133315/how-to-plot-projectile-path-with-dotted-line.html http://wiki.unity3d.com/index.php?title=Trajectory_Simulation
Maybe some of these can help you get started.
Thanks for the swift answer, these will do, thanks!
~ExplodingCookie
Answer by Jonesy19 · Sep 07, 2017 at 12:37 PM
Found this link...It has some really good solutions for arc trajectory...
Also, I realize this is an old thread, but I did have some trouble finding a full solution, so I decided to post...
https://blog.forrestthewoods.com/solving-ballistic-trajectories-b0165523348c
Your answer
Follow this Question
Related Questions
Android - Access Video from StreamingAssets 0 Answers
how to set an object on a path,how to set an object on a track 0 Answers
i want to make a path system like in racing in gtav,i want to make a path system like racing in gta 0 Answers
How do I manually calculate Normals for my Meshes? 4 Answers
How to calculate distance based on A*? 2 Answers