• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Psuedo-accurate Curved Projectiles

Z

Zen00

Guest
I have projectiles coming from my boss character in a curved arc, I want them to land near where my player is standing, not necessarily exactly on top (I can do that part with a slight random range). I mostly want to know more about how I can get the projectiles to land where I want them to.

Any help?
 

Tthecreator

Your Creator!
Do you already know how to create this without the curve? What you want to do is create a "graph" or a function I should say and then multiply some sin and cos functions with that.
 
Z

Zen00

Guest
Yes I do know how to do it without the advanced math, I was just hoping there was an obvious way to do it easily that I was missing.
 
Top