Hi…
I’m using Collision Editor in tiled, and set Polygon in Collsion Editor.
and then I have a problem.
how i check Object ID or write name?
i can’t select object for my purpose
becuase i don’t know which object i want
can i set name or something on object in collision edit
thx a lot
Following example have 3 object.
"objects":[
{
"height":0,
"id":0,
"name":"",
"polygon":[
{
"x":-52,
"y":-1
},
{
"x":585,
"y":-262
},
{
"x":574,
"y":10
}],
"properties":
{
},
"rotation":0,
"type":"",
"visible":true,
"width":0,
"x":18,
"y":348
},
{
"height":0,
"id":0,
"name":"",
"polygon":[
{
"x":0,
"y":0
},
{
"x":222,
"y":192
},
{
"x":332,
"y":-12
},
{
"x":150,
"y":-93
},
{
"x":42,
"y":265
},
{
"x":205,
"y":237
}],
"properties":
{
},
"rotation":0,
"type":"",
"visible":true,
"width":0,
"x":101,
"y":59
},
{
"height":0,
"id":0,
"name":"",
"polyline":[
{
"x":0,
"y":0
},
{
"x":391,
"y":-25
},
{
"x":453,
"y":152
},
{
"x":247,
"y":226
},
{
"x":-82,
"y":164
},
{
"x":3,
"y":1
}]