• Editor
  • Attachment Color Constraint?

Just an idea.

Would be nice to have a constraint of this type.

  • Select a slot
  • Create a constraint by selecting a bone.
  • Set start and end colors in the constraints properties
  • Set the radius in the constraint properties

Now when you move the bone slot changes color depending on how far has bone moved regarding to original pose. if the distance equals Radius or more color sets to final. if bone is moved back to original pose color is back to starting value.

This can be very useful when we do several image transformations in the rig. Depending on the bone positions images will fadein and fadeout. which will create nice transition of several attachments without any animation.

In the image below with constraint if you move bone up and down along the black line those 3 images will show nice transition changing one into another depending where the bone is.

Related Discussions
...

I can see it being handy in the use case you've described, I'm just not sure it's something that would be used much for anything else. Can you think of any other use cases for it?

We could consider this when we make constraints that can tie one property to another. For example, tying bone translation to rotation or scale, or in this case color.

Shiu a écrit

I can see it being handy in the use case you've described, I'm just not sure it's something that would be used much for anything else. Can you think of any other use cases for it?

with this I could push head shearing much further. slowly showing other side of the face.

Nate a écrit

We could consider this when we make constraints that can tie one property to another. For example, tying bone translation to rotation or scale, or in this case color.

Happy to hear that.

5 ans plus tard

Sorry to dig this, but for quite a bit of time I'm facing the situation where I have to key muuuultiple slots color when all I need would be to "link" all those slots to one single property.

Being able to key the "Color Constraint" would be super awesome !!

    RemDust I agree that color constraints would be useful!
    Nate had mentioned earlier that we are considering making constraints that can bind one property to another, but since it did not seem to be mentioned that the issue ticket existed, here is a link to it:
    EsotericSoftware/spine-editor121