Friends i have problem in spine...
i try to get boundingBox(for collosine) make in spine..
but every time i face errors.. how to access the boundingbox make in jeson file.(for collosin )
plz help me... thanks
c++ code:: :::
Rect projectileRect = skeletonNode->boundingBox().intersectsRect(skeletonNode->findSlot("bb"));
[/i]
jeson file:::
[code]"skins": {
"default": {
"bb": {
"bb": {
"type": "boundingbox",
"vertices": [ 145.86462, 60.16864, 46.875793, 100.647125, -69.445435, 62.195053, -146.72218, -4.293091, -147.08401, -149.57404, 189.17914, -48.34204 ]
}
[/code]
Provide guideness...