How to move a body (my main character)

Hello everyone !

I am new here and I started developing a game with corona for Android.

I am now trying to make my character move along the x axe (forth and back) and now I am trying to apply some force to it

local dude = display.newImage(“dude.png”)

dude:setReferencePoint(display.CenterReferencePoint)

dude.x = display.viewableContentWidth * 0.2

dude.y = display.viewableContentHeight

physics.addBody(dude, “dynamic”, {friction = 1.0, density = 1.0, bounce = 0.0})

dude:applyForce(130, 0, rock.x, rock.y)

while I try to apply that force to the dude I see that the friction between him and the ground is too high and he cannot slide on it.

How can I make the body temporarily with no effect of the gravity to make it slide in the right way ?

Thanks to everyone !

Hello  giammarcoagazzotti, here is a tutorial I found in the web, maybe help you

http://thatssopanda.com/corona-sdk-tutorials/developing-a-game-first-steps-with-corona-sdk/

here are tutorial for move a character http://thatssopanda.com/corona-sdk-tutorials/

Hello  giammarcoagazzotti, here is a tutorial I found in the web, maybe help you

http://thatssopanda.com/corona-sdk-tutorials/developing-a-game-first-steps-with-corona-sdk/

here are tutorial for move a character http://thatssopanda.com/corona-sdk-tutorials/