Original Post
Probably a bad title but I'll explain what I need to achieve here, The game I'm making (tile based turn based strategy) allows the player to have a unit throw an item from one square to another (the game is implemented in OpenGL just to be clear, it's not a 2D game). My problem is that I cannot work out the calculation I would need for the velocity of the item in order to make it land in the correct place. Calculating the normal for the direction the item must go is easy, however I need to take in to account gravity. Could anyone point me at some code samples or give me some hints as to what I need to do to achieve this? Thanks