What's the effect you're going for? If you just cut to a wiggle, you may get a jump (discontinuity).
What an honor to be replied by you. Firstly, i'm doing character animation and using duik for this. In this spesific moment my character is trying to stop and after sliding a bit, it stops and i want pendulum expression to give follow through to it by applying to same controller's rotation property. So, suddenly stopping works for me here actually.
Actually it sounds a little tricky. I think to make it convincing, it would have to be more of an overshoot/inertia kind of thing, so the expression would need to be able to calculate the velocity coming into the oscillation to know what amplitude to use. Hard to guess how to do that without seeing the expression you're trying to modify...
I have been searching a way also and this kinda worked for me:
But you are right making smooth transition is not easy. Wiggle ends on the third keyframe and from third to fourth there is rotation movement and as a continuation of it -after fourth- pendulum expression goes into game. I changed it from sin to cos as this spesific movement requires in this way. I would be happy to see other solutions. Thanks for your interest and being pioneer for us.
1 person found this helpful
With my (paid) tool Expression Timeline you can transition from any expression to any other one, also fade between them. So you can get a smooth transition between a wiggle and a pendulum but still have to experiment with the timing and amplitude such that the pendulum looks like being caused by the wiggle. Maybe experiment with the trial version (that is 14 days fully functional if I remember correctly).