Skip to main content
April 14, 2018
Question

Multiple Expression To One Property

  • April 14, 2018
  • 1 reply
  • 7538 views

Hi everyone,

I have wiggle expression on rotation property of the layer with keyframes. I also want to add master Dan Ebberts' pendulum expression on the same property. Is this possible? I tried if else statement with checkbox (if checkbox =true do wiggle thing else do pendulum) but gave me error message "cannot assign value because it is read only". By the way this layer is Duik's controller and parented to zero object. Is there a way to do it?

Thanks.

This topic has been closed for replies.

1 reply

Dan Ebberts
Community Expert
Community Expert
April 14, 2018

What's the effect you're going for? If you just cut to a wiggle, you may get a jump (discontinuity).

Dan

April 14, 2018

Hi master,

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.

Dan Ebberts
Community Expert
Community Expert
April 14, 2018

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...

Dan