Faking a projectile arc

Basically, is there any way to fake a projectile arc. Using the vectors for origin and target? Or will i need to use complicated maths to work out an actual arc?

Thx :stuck_out_tongue:

youll have to use maths.

If you are only wanting to figure out the required angle thats required to hit a target given a distance/velocity, its acutally pretty easy.

You can find everything you need here: Projectile motion - Wikipedia

hmm ok thanks reading time, im tryin to hit a moving target :frowning: lol

Edit i just found this amazing thread
http://forum.unity3d.com/threads/158855-Throw-an-object-along-a-parabola?p=1087673&viewfull=1#post1087673

If you dont need a visual line, you need to combine two functions to be able to hit a moving target.

  1. http://wiki.unity3d.com/index.php/Calculating_Lead_For_Projectiles
  2. That will give you a point ahead of the target, but it doesnt take into account projectile drop. You can calculate that using ‘Angle of reach’ from the first link.

I use these, and it works perfectly.

Thanks for the info ive worked a system out, its not perfect but i can tweak it :slight_smile: