This does, but takes two lines:
[lua] physics.addBody( circle, { density=0.9, friction=0.3, bounce=0.3, radius=34} )
circle1.bodyType = “static”[/lua]
I searched the bug tracker and didn’t see this issue. Is this a known issue? Small problem I know…
Regards,
Mike Chapman
[import]uid: 9827 topic_id: 2606 reply_id: 302606[/import]
The first way is no longer supported. From the online docs:
“In Alpha 2, this attribute is no longer part of the body element definition, and will be ignored if specified in the above format.”
Yes that was a typo. Thanks for the clarification. I will check the doc again. It works just figured I would post and save someone else the trouble of figuring it out.
[import]uid: 9827 topic_id: 2606 reply_id: 7444[/import]