This doesn’t work.
line = display.newLine(100,100,200,100)
line:append( 150,200 , 100,100 )
line.width = 2
lineShape = { 0,-35, 37,30, -37,30 }
physics.addBody( line, { density=0.6, friction=0.5, bounce=0.2 shape=lineShape } )
line:addEventListener( “touch”, dragBody )
And this doesn’t work
line = display.newLine(100,100,200,100)
line:append( 150,200 , 100,100 )
line.width = 2
lineShape = { 150,200 , 100,100 }
physics.addBody( line, { density=0.6, friction=0.5, bounce=0.2 shape=lineShape } )
line:addEventListener( “touch”, dragBody )
[import]uid: 115085 topic_id: 27230 reply_id: 110653[/import]