I created the following body using Gumbo, but it crashes the simulator when I try to run my app. Can someone tell me why?
local shape\_4 = { -64,-38.5, -64,35.5, -61,26, -56,17.5, -51.5,10.5, -44.5,4, -39,-2, -40.5,-40 }
shape\_4.density = 1; shape\_4.friction = 0.3; shape\_4.bounce = 0.2;
local shape\_5 = { -39.5,-39, -38.5,-2, -31.5,-7.5, -22,-14, -13,-18.5, -1.5,-23.5, 22.5,-32, 64.5,-39.5 }
shape\_5.density = 1; shape\_5.friction = 0.3; shape\_5.bounce = 0.2;
physics.addBody( leftarc,
{density=shape\_4.density, friction=shape\_4.friction, bounce=shape\_4.bounce, shape=shape\_4},
{density=shape\_5.density, friction=shape\_5.friction, bounce=shape\_5.bounce, shape=shape\_5}
)
Thanks,
Sean. [import]uid: 4993 topic_id: 6793 reply_id: 306793[/import]