How to catch error in physics.addBody ?
Code:
[lua]
local result = physics.addBody( objTest, “dynamic”, { outline=oTest } )
print( result )
[/lua]
Corona Simulator Output:
ERROR: C:\path\main.lua:158: physics.addBody() : invalid “outline”
true