It looks like you're new here. If you want to get involved, click one of these buttons!
local body = world:createBody{type = b2.STATIC_BODY} body:setPosition(0, 0) local chain = b2.ChainShape.new() chain:createLoop( 0,0, application:getContentWidth(), 0, application:getContentWidth(), application:getContentHeight(), 0, application:getContentHeight() ) local fixture = body:createFixture{shape = chain, density = 1.0, friction = 1, restitution = 0.3} |
Comments
Likes: ar2rsawseen
Likes: chipster123