When shape boundaries are non-concave, the actual physics boundary is polygon bounding the entire entity instead. For example,
If shape is
"shape": [
{ "x": 0, "y": 0 },
{ "x": 0, "y": 10 },
{ "x": 1, "y": 10 },
{ "x": 1, "y": 1},
{ "x": 10, "y": 1 },
{ "x": 10, "y": 0 }
]
It looks like an L shape, but the represented physics is actually that of the bounding triangle shape.
When shape boundaries are non-concave, the actual physics boundary is polygon bounding the entire entity instead. For example,
If shape is "shape": [ { "x": 0, "y": 0 }, { "x": 0, "y": 10 }, { "x": 1, "y": 10 }, { "x": 1, "y": 1}, { "x": 10, "y": 1 }, { "x": 10, "y": 0 } ] It looks like an L shape, but the represented physics is actually that of the bounding triangle shape.