• Editor
  • Experimenting with New Transform Constraint

Nate 滑块混合是指当前姿势和滑块动画姿势之间的混合

我也是这样理解的

Nate 滑块和变换约束很相似

变换约束的混合,则可以通过调整他数值的大小,来影响两个骨骼之间的运动比例。
现在的变换约束,就可以随便链接两个属性,然后用新的匹配数值功能,不用在意数值大小即可默认原位(这点很棒!),然后通过混合来改变属性之间的比例,不用被束缚在填数值上
但是滑块约束则缺少一种,可以直接控制骨骼,对动画帧映射比例以及方向的手段。当然填数值也可以实现这一点,但我觉得能有一个类似于变换约束的【混合】,能直接做到这一点可能会更方便?
只是个人的一点小建议,不行的话也请不要放心上

Related Discussions
...

Nate
比如变换约束这样,用下面的链接确定好映射方式之后,直接匹配一下数值回原位,然后通过上面的混合,即可控制它的映射的比例,跟正反方向,而不用去下面调数值。
我觉得滑块约束,缺少一个这样直接控制比例跟方向的手段

I see, thanks for the explanation!

With a transform constraint you can either set the mix or edit the mapping numbers to control how much affect the transform constraint has. Setting the mix is easier, but it can be convenient to use the mappings because then you can animation 0 to 100% mix to get the effect you want. Otherwise you have to remember to key the mix eg 0 to 53.76%.

A slider's mix works exactly the same way as the transform constraint, so you can use it to control how much effect you get from the slider. Other ways to change the magnitude of the slider effect is to change the mapping numbers or edit the animation keys or animation duration.

If we had another setting on the slider for controlling how much of an effect you get, what would it do? That sounds like the same thing mix does. If you have an animation that moves a bone, you can set a mix < 100% to move it less or > 100% to move it more.

Here's an interesting setup to think about, magnetic IK!

    Nate ohhhh这个吸附效果是怎么做到的,完全想不出来

    Nate
    我好像明白大概的思路了,但是效果跟你的不太一样🤓

    Nate
    有什么办法能让它的y轴的时候也脱离吗,或者像你那样把它限制在一个范围,只想到单轴向的思路,看了我对功能的理解还是不够透彻

    Very nice! 👍️ 4.3 setups can seem like magic the first time you see them!

    You can probably use 2 sliders, one for X and one for Y, with additive set. 🤔

    • yugutou ответили на это сообщение.

      Nate 好的!非常感谢您的解答!

      Nate 在休假中、没有关注新特性。(停留在4.3.16)
      研究了一下大概是这个样子?
      不清楚是那个版本新添加的滑块约束动画帧可以映射到某个骨骼的变换属性上。

      新功能能实现很多有趣的想法。但是好像变得更加复杂了(指理解和学习成本)
      很多时候理解原理但是可能习惯直接键帧似乎、、

      • yugutou ответили на это сообщение.

        Looks like you got it! For everyone else: a slider animation controls the IK mix. When the slider's bone enters the range, the IK is turned on, when it leaves the range it is turned off.

        These setups are definitely more complex than just setting keys. Mostly we are just exploring the new tools. In the real world you would have some goal, then hopefully you use the advanced setups only when warranted. We see far too many projects that have literally 500 or even 1000 constraints, and that's before sliders and the new transform constraint. Please don't do that! 🙏

        If you've missed the last few updates, check the changelog. The update today was very important, I posted about it here:
        https://esotericsoftware.com/forum/d/28555-4317物理约束出现奇怪的形为/20

        • Erika оценил это.

        warmanw
        yugutou
        你们想太复杂了、指针的阴影就是固定光源的情况、那么只需要做一个旋转就行了。
        第二种方法需要关约束才能调整原始位置。
        这里只是简单演示秒针阴影。
        另外两个指针的映射就只是简单的60进制数学计算了。

        官方的演示估计全绑定在那个"motor"驱动骨上

          Voice-of-Shadow 啊明白了感谢感谢!

          Voice-of-Shadow WHAT?! Did you create constraint by dragging and releasing a bone on another?

            I think he used a hotkey, then clicked the target bone. Hotkeys are fast!

            • yugutou ответили на это сообщение.
            • yugutou оценил это.

              Nate 请问热键什么时候能变回之前的样子,能让常用的热键可以用在不同的面板😭

              Soon! Sorry about that, just got busy with many things. 😬

              Voice-of-Shadow
              我感觉这个才是官方的做法,它x进出的时候才会完全吸附或者离开
              你x离开的时候,y还附加在上面

                yugutou you can also put the mix in a slider so it's softer. Also as for many things in Spine, there are multiple ways to achieve the same thing.
                (I'm adding a small variation of the setup above with less bones so maybe it's easier to see the effect)

                soft-slider-mix.spine
                796B
                • yugutou ответили на это сообщение.

                  Erika 是的!你看我的层级树面板,我正是用你这种方法做出来的通过滑块,通过滑块约束去控制变换约束的混合

                  yugutou
                  一个意思、滑块约束的动画分离XY键位置帧。
                  把滑块约束的动画变成约束的混合帧就行了。

                  其实实际生产中、还是直接K帧、、、