We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello, I'm new here so excuse me if i do anything wrong. I'm trying to program a "Worms" like game, where you have a character in one side and you want to hit the other player in the other side of the map. I was trying to throw a projectile by clicking on my player1 body and then dragging the mouse back and releasing it so the projectile had a different angle and velocity depending on the position of the mouse in relation to the player 1 body. I'm using the box2D physiscs library in my project. If anyone could help me trying to understand how this would work i really appreciate it. Thank you.