Draw lines?

How can i draw lines with physical properties??

You can draw lines using display.newRect() - here’s the doc link http://docs.coronalabs.com/api/library/display/newRect.html - and then making them physics objects using physics.addBody - here’s the doc link http://docs.coronalabs.com/api/library/physics/addBody.html

In a nutshell, create the line first and then make it a physics object. Hope this helps!
 

And how can i draw lines using my finger ?

That’s a bit trickier, but possible. Using the touch event, you’ll have to create circles according to where the player is touching the screen. As he or she moves their finger around the screen, you’ll have to continuosly create circles which gives you your line.

You can draw lines using display.newRect() - here’s the doc link http://docs.coronalabs.com/api/library/display/newRect.html - and then making them physics objects using physics.addBody - here’s the doc link http://docs.coronalabs.com/api/library/physics/addBody.html

In a nutshell, create the line first and then make it a physics object. Hope this helps!
 

And how can i draw lines using my finger ?

That’s a bit trickier, but possible. Using the touch event, you’ll have to create circles according to where the player is touching the screen. As he or she moves their finger around the screen, you’ll have to continuosly create circles which gives you your line.