I need to attach a GameObject to slot (not the sprite). Can anyone tell me how to make this work? Thank!
[Unity] Spine Unity Examples
BoneFollower or SkeletonUtility.
i try it but not work! Because my animation change scale and alpha of slot during the anim, so when i attach gameobject as bone follower or SkeletonUtility, nothing playing on the screen
any help ? This gameobject has a lot of child as sprite. I want to attach to slot so that the animation can affect all child sprites (scale or alpha).
Hey guys,
Im just wondering if it is possible to add an overlay/decal to a spine character in unity. Basically I have my character but during the game I would like to apply blood or dirt decals to the arms, head etc. Rather then having to create new sprite sheets with blood applied for each character part and swapping them out that way is there a way to add textures to a spine model individual parts at runtime??
What is the best way to do this to try keep assets at a minimum?
Cheers
Gav
Hi all,
Is there a bug with the latest runtime, as it is not automatically creating a prefab for the exported project. I have the option to Generate a Mecaniam Controller and bake it, but would prefer the prefab option instead. Is there even a way that I can manually create the prefab?
Thanks!
[Edit] And just as I post, I see the right click option to instantiate SkeletonAnimation ha!
(1) Thank goodness you didn't bake it.
If you're new to Spine, or new to Unity, absolutely do not use Baking.
It was originally created as a workaround for the Asset Store, and it remains an advanced feature (for people looking to sacrifice Spine features for performance-on-a-case-by-case-basis like for environment animation or something.)
(2) This isn't a bug. You probably have the expectation of it creating a prefab for you from the old video.
The new version doesn't do that anymore. It leaves generating prefabs up to you 'cause not everyone needs prefabs for every single Spine skeleton they import.
(3) Yes, right click on the SkeletonDataAsset (the asset with the Spine icon) and choose one of the Instantiate options.
Started using Spine not so long ago. Loving it.
I do have one questions and one request:
[Question] Animations aren't baked right. Meaning the crazier and more complex the animation the more processing is required within Unity right?
[Request] Would it be possible to do a video tutorial on how to bake animation. I understand this is more complex then the rest, however would be real useful if we could have a tutorial on how this is applied for simple background looping animations.
Thanks!
Hi do you have any videos on aiming a gun in unity?
I don't think so, but an easy way is to setup a single bone IK constraint in Spine, then use SkeletonUtility in Unity to position the target where you want to aim. You can then write code to prevent the arm from rotating to unrealistic angles.
Sweet! got it working nicely, im new to spine but think im going to like it a lot
@[cancellato]
Thanks for great posts!
This archive is giving me a ton of help.
However on Mitch's ground constraint I was following along just fine until my implementation of it deferred.
What I mean is I'm getting the ground constraints to react to ground all right, but it does not return to the pose before. The bone pushed or placed on higher level does not return to ground position like in Mitch's demo. What could possibly cause this?