physics =require "physics" physics.setDrawMode( "hybrid" ) physics.start() c1 = display.newCircle( 100,100,50 ) physics.addBody( c1,{radius=50, friction=1}) r1 = display.newRect(200,300,500,20) r1.rotation = 10 physics.addBody( r1, "static") r2 = display.newRect(700,300,500,20) r2.rotation = -10 physics.addBody( r2, "static") timer.performWithDelay( 1, function() display.remove(visvis) visvis = display.newLine(0, c1.contentBounds.yMin, 1000, c1.contentBounds.yMin ) end, 0 )
Why does the line bounce off the circle?