- Editado
Trying to replicate IK stretching example
Hello everyone,
I'm trying to figure out how to recreate the IK stretching shown in an example GIF from the 3.7 release notes: http://esotericsoftware.com/blog/Spine-3-7-released
However, I realised my bones behave differently than in the example and I can't find a way to change it: when the IK constraint comes close to a bone, the bone shrinks both in height and width (see image):
while in the example I'm trying to copy, when the IK constraint gets closer, the bone shrinks its height but expands its width:
I can't find any way to change how the bone's width behaves and basically invert it. Both bones' constraints have the compress, stretch and uniform options selected, which makes it work as intended except for the inverse width behavior when comparing it to that example:
Can someone help me understand how to modify this? I couldn't find anything in the documentation or anywhere so far.
Thank you!
Hello, I think unchecking Uniform
should get you closer to the example.
Hi, Erika, thank you for answering. If I uncheck 'uniform', then the width of the bones is unaffected no matter where the constraint is:
So I still don't understand how to replicate that effect.
Oh wow thank you so much! Alright, that explains it, I figured it might be manually scaled, but the GIF looked like it was being manually moved around in Setup mode haha.
I have another question though, and I'm afraid it will be super noobish, sorry: so far, all the tutorials I followed binded the slots by placing them 'inside' a bone in the tree. However, in your example I could see that the goo slot is not nested inside any bones, they're all in the same level of hierarchy, so how is it possible for the bones to affect the mesh?
When using weights on a mesh, it does not matter where the mesh is parented because the mesh is bound by the weights. If you select the mesh and open the Weights
view, you can see which bones are affect the mesh. In the case of the goo project the mesh is being affected bones called left
, IK-target
, and right
.
If you were to remove those weights, the mesh would then be affected by the movement of the root
bone which the slot containing the goo
mesh is parented to.
Oooh, thank you, now it makes perfect sense, I didn't think about the weights :upsidedown: Thanks for all the help!