Hi
When i make an automated walk cycle i get 2 expression errors on the arm (no swinging or moving of the arms at all)
------------------ On the clavicle rotation and the arm rotation i get an "Undefined value used in expression" ---------------------------
//Duik.proceduralWalk
amp = effect("Walk Cycle")(45).value;
cycleTime = effect("Walk Cycle")(105).value;
armsSoftness = effect("Walk Cycle")(46).value;
characterSoftness = effect("Walk Cycle")(22).value;
energy = effect("Walk Cycle")(110).value;
walkSpeed = effect("Walk Cycle")(27).value;
left = false;
if (walkSpeed <0) left = true;
amp = amp*5*energy/100;
if (amp > 0)
{
softness = armsSoftness + characterSoftness;
decalage = 1.5;
amorti = 0;
sin = Math.sin(cycleTime*Math.PI*2+decalage);
for(i=0;i<amorti;i++) {
sin = Math.sin(sin);
}
rot = sin*amp;
rot = rot + rot*softness/100;
if (left) -rot;
}
else 0;
-------------------------------------------------------------------
...Any on else with this problem?
Jacob
This forum has been permanently closed and archived; you can still access all content but can't post anymore.
Of course, you can still join us in other places!
To get support and talk about RxLaboratory and with the team, come here: https://rainboxlab.org/support/
Of course, you can still join us in other places!
To get support and talk about RxLaboratory and with the team, come here: https://rainboxlab.org/support/
Expression error in walk cycle
Re: Expression error in walk cycle
Hi,
Are you on AE CC2019?
If so it may be an issue with the new expression engine, which I'll have to fix (let me know). A workaround is to set the expression engine to "legacy" in the project parameters.
Are you on AE CC2019?
If so it may be an issue with the new expression engine, which I'll have to fix (let me know). A workaround is to set the expression engine to "legacy" in the project parameters.
Re: Expression error in walk cycle
Hi,
Thanks for responding and for the amazing work you are doing!
Yes i'm on CC2019, and everything works when I set the Expression Engine to legacy...
The new Javascript engine produces 6 expression errors in the walkcycle, Clavicle, Arm and foot roll (right and left side)
Jacob
Thanks for responding and for the amazing work you are doing!
Yes i'm on CC2019, and everything works when I set the Expression Engine to legacy...
The new Javascript engine produces 6 expression errors in the walkcycle, Clavicle, Arm and foot roll (right and left side)
Jacob
Re: Expression error in walk cycle
Thanks for your feedback, I'll fix this in the next update
Re: Expression error in walk cycle
Same here. It worked when i turnd projectexpressions to (extend script) instead of java script on AE2019