How to shoot something?

Alright, I tried this all day yesterday, and today too, but can’t wrap my head around it.

My very basic desire is to be able to shoot/launch a box/ball. (That is physics enabled) I am very new to Corona and can’t continue learning because I’m stuck on this.

Would be very nice if somebody could just help me out with this.

Things I tried myself:

I tried the Ghost vs Monsters and the pool example, I checked out a slingshot and explosion tutorial. The first two are too complex, I don’t understand that yet. The slingshot is not what I am trying to do and the explosion thing does not work when I try to adapt it to the iPad format because its not explained what some of the values are for, so I can’t see why the objects fall through the floor or float above it. It just messes up.

I just want to be able to shoot this box or ball with a set amount of power so it flies away. [import]uid: 50195 topic_id: 10593 reply_id: 310593[/import]

try

body:applyLinearImpulse( )

or

body:applyForce()

you can find these in the API section under Resources. [import]uid: 12455 topic_id: 10593 reply_id: 38545[/import]

Thanks, body:applyLinearImpulse( ) is pretty good. I knew about body:applyForce() but that didn’t work as intended. [import]uid: 50195 topic_id: 10593 reply_id: 38556[/import]