Hi,
I create a bone at point in skeleton and place particles at point given by below function I've written...
Vector2 BookPage19Scene::getBonePosition(SkeletonAnimation *anim, const char *boneNamme)
{
Size visibleSize = Director::getInstance()->getVisibleSize();
spBone *bone = anim->findBone(boneNamme);
Vector2 position = Vector2(bone->x, bone->y);
while (bone->parent) {
bone = bone->parent;
position = Vector2(position.x + bone->x, position.y + bone->y);
}
return Vector2((visibleSize.width / 2) + (position.x / SPINESCALE), (visibleSize.height / 2) + (position.y / SPINESCALE));
}
NOTE: SPINESCALE is a value I've created to convert between spine's scale factor and screens for my current use case.