Need to a code to move the ball in directiona and in given velocity

Hello, I am new to Corona SDK practicing and developing my programming skills. I want a help with below 

I tried to hit an object with a ball in the choice of users direction and with the required velocity.I am looking for the sample code to do that. Can someone please help with that…

Thanks in advance 

I believe there is an Angry Birds clone game in the demo example apps. That should help. Either way, you’re going to need to learn using physics with Box 2D for Corona, so start trying out some physics examples from the documentation.

Finally, please try not to ask too broad a question on this forum. Try out something, and if it’s not doing what you expect, ask a specific question.

You can look at our CoronaCannon complete sample project here:  https://marketplace.coronalabs.com/app-templates/corona-cannon

There is also the sample code that comes with Corona in SampleCode/Physics called MultiPuck. There are other samples in the SampleCode as well that involves similar activities that you may find useful too.

Rob

I believe there is an Angry Birds clone game in the demo example apps. That should help. Either way, you’re going to need to learn using physics with Box 2D for Corona, so start trying out some physics examples from the documentation.

Finally, please try not to ask too broad a question on this forum. Try out something, and if it’s not doing what you expect, ask a specific question.

You can look at our CoronaCannon complete sample project here:  https://marketplace.coronalabs.com/app-templates/corona-cannon

There is also the sample code that comes with Corona in SampleCode/Physics called MultiPuck. There are other samples in the SampleCode as well that involves similar activities that you may find useful too.

Rob