From what I read in the docs, I should be able to scale the image before adding a physics body, and the physics body will form to the scaled image size. But this is not occurring with the following code. The physics bodies are the original image size.
physics.setDrawMode( 'hybrid' )
local img = display.newImage( 'img.png', 0, 0, true )
img.xScale, img.yScale = .4, .4
physics.addBody( img, "static", { friction=0, bounce=.5 } )
[import]uid: 4596 topic_id: 15261 reply_id: 315261[/import]