I posted this question earlier as a reply on a previous thread, but I figured I might as well post it anew:
I have a player in my game moveable using the WASD keys. I want to be able to aim and shoot with the mouse, so that wherever you click, a bullet is sent out from the point that the player is at at the moment to the location of the mouse at that moment. A problem I'm having is that I can't find a way to make the bullets move all at the same speed regardless of the angle that theyre shot at. Any ideas? I think it might have something to do with PVector, after looking at some new examples I've found, but I really am not sure at all.