Attaching an image to a body part
Is there any way to attach another image to a hand inside Unity3D, like a gun or something ? So it can be a parrent of it... Or i need to make all of my items that the character is gonna hold in the actual spine... That would be very annoying, becouse i want my character to change clothes and everything, but in order to make the clothes costumasible, i need to use the metod of attaching the actual new images on the bodyparts as the childs of it. so yeah...
I hope it's possible, becouse this is a program i choose for animating, and it could ruin my whole idea of the game i wanna create.
Thanks for taking your time and for trying to help.
If you're planning to customize clothes, use Spine's Skins feature. It will help you a lot with visualizing and animating different clothes.
Also look up "mix and match" in the forums. This isn't an official feature of Spine Editor yet but it's easy to set up at runtime.
This will be ultimately easier, more controllable and perform faster than using child GameObjects in Unity.
For anything else you need to attach to your skeleton temporarily or so you can do physics or other code-heavy stuff on it, use BoneComponent.
It's a script that comes with the Spine-Unity runtime. The ideal setup is: you make your GameObject a child of your SkeletonAnimation GameObject, then attach BoneComponent to your child object. The rest of the options in the Inspector should be self-explanatory.
Pharan wroteIf you're planning to customize clothes, use Spine's Skins feature. It will help you a lot with visualizing and animating different clothes.
Also look up "mix and match" in the forums. This isn't an official feature of Spine Editor yet but it's easy to set up at runtime.
This will be ultimately easier, more controllable and perform faster than using child GameObjects in Unity.For anything else you need to attach to your skeleton temporarily or so you can do physics or other code-heavy stuff on it, use BoneComponent.
It's a script that comes with the Spine-Unity runtime. The ideal setup is: you make your GameObject a child of your SkeletonAnimation GameObject, then attach BoneComponent to your child object. The rest of the options in the Inspector should be self-explanatory.
Okay thank you for the help, i'll try it and play around with everything, i should figure it out...