im not that good at math, and construct 2.
And now i want to simulate an artillery.
First, i need to simulate the angle the barrel is at.
Second, i need the correct gravity and acceleration.
If i have those two factors it should work out.
I have something like enemy.X - (enemy.x/2) (repeat the same for y)
in the head for the angle of the barrel.
but since not every shot is landing correct, this isnt working out.
How should i handle these two factors so i could simulate an artillery?