How can I have a cannon shoot a ball (with physics behavior) so that the ball's trajectory goes through the point where the user clicks?
This is what I tried to do to get the cannon at the right angle, but the cannon doesn't rotate at all (0 degrees):
I got the formula from Wikipedia.
The ball gets shot with an impulse of 0.6 at Cannon.Angle. I convert this to velocity using the formula that I found here.