It looks like you're new here. If you want to get involved, click one of these buttons!
local b=physics.body(POLYGON,vec2(10,10),vec2(10,10),vec2(10,10)) b.mask={1} -- crash
i can confirm the crash happens, but it seems more related to the fact that the vectors do not create a shape,
local b=physics.body(POLYGON,vec2(10,10),vec2(10,11),vec2(11,11)) b.mask={1} -- no crash
True, but the crash only happen (during my tests) with both lines of code.
local b=physics.body(POLYGON,vec2(10,10),vec2(10,10),vec2(10,10)) -- no crash
Comments
i can confirm the crash happens, but it seems more related to the fact that the vectors do not create a shape,
True, but the crash only happen (during my tests) with both lines of code.