If I were to lob a grenade or to fire a mortar straight up and have it come back down, how do I make it not look like the grenade floats over certain blocks, how do I legitimately make it look like the flying grenade is moving closer to the camera and what not.
I kind of want my game to look like this drawing:
Thanks m8s.
You would need to calculate the parabola based on the start and end points. This means that you would have to create a middle point between points A and B which would be the parabola apex. And then interpolate using a quadratic equation.