Hi guys,
I need to implement a moderately dynamic (that's a little irrelevent though) collision setup for some map geometry
This is an example of the geometry (the boxes)

Can anyone tell me what will be the most efficient option before I delve into implementing edge shapes and moderately complex edge detection?
I could
a) detect edges of groups and create edge chains
b) detect edges of groups and "tesselate" (because of 8 vertex limit) into polygons
c) create circle shapes for each box (maybe eliminate ones that are boxed in)
AND, should I put all of my shapes into one body, or split them up into seperate bodies (near groups) as much as I can?
I'm assuming (in this example) 3 edge chains shapes in a single body would be fastest?
Any input would be appreciated 🙂
I need to implement a moderately dynamic (that's a little irrelevent though) collision setup for some map geometry
This is an example of the geometry (the boxes)

Can anyone tell me what will be the most efficient option before I delve into implementing edge shapes and moderately complex edge detection?
I could
a) detect edges of groups and create edge chains
b) detect edges of groups and "tesselate" (because of 8 vertex limit) into polygons
c) create circle shapes for each box (maybe eliminate ones that are boxed in)
AND, should I put all of my shapes into one body, or split them up into seperate bodies (near groups) as much as I can?
I'm assuming (in this example) 3 edge chains shapes in a single body would be fastest?
Any input would be appreciated 🙂