I know this has been asked a few times, but its still not clear to me. I have referenced this page as well and it hasn't been sufficient.
http://esotericsoftware.com/spine-using ... mentloader
I have an attachment created for the rHand where I want to exchange the hand with a hand weapon.
"rHand":{"rHand":{"name":"wizard/rHand","x":7.26,"y":1.45,"rotation":130.31,"width":26,"height":25}},
Do I have to create an attachmentLoader to pull in the new image called battleAxe.png?
As I have read before, I don't need to tie this attachment to a skin right?
[[CCSpriteFrameCache sharedSpriteFrameCache] addSpriteFramesWithFile:@"weapons.plist"];
spAttachmentLoader* attachmentLoader;
spAttachment* attach = AttachmentLoader_newAttachment(attachmentLoader,NULL ,ATTACHMENT_REGION,"battleAxe.png");
//Get the slot index of the weapon in the skin
spSlot_setAttachment([anim findSlot:@"rHand"], attach);
Thanks!