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
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
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 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.
I use these, and it works perfectly.
Thanks for the info ive worked a system out, its not perfect but i can tweak it