Using Kleaner with Walkcycle
Posted: Sun Feb 16, 2020 7:12 am
Hi,
I have a Full character rig that has a walkcycle automation and when the character is stationary i have applied Duik Kleaner to Upper, Lower, Goal of the FK to give it nicer movement.
Issue is :
1. applying Kleaner to these 3 FK controls gets rid of the Walkcycle code applied there. i need to copy and paste the Walkcycle back in.
Is there a way to apply the Kleaner and keep existing code in the property?
2. Pasting the walkcycle code back in under the Kleaner code, fixes the walkcycle code but negates the Kleaner code results.
{//Duik.kleaner
var fx = effect("Kleaner");
//parameters
var doAnticipation = fx(1).value;
----the code goes on for awhile but the standard Kleaner code that is applied
}
result;
}
---Kleaner code ends here and ive pasted the walkcycle effect below it
{//Duik.walkCycle
var sideFx = effect("Arm")(1).value;
var walkFx = thisComp.layer("C | Walk Cycle").effect("Walk Cycle")
sideFx == 1 ? walkFx(67).value + value : walkFx(73).value + value
}
Is there a way to bring the Kleaner code back to life while having the walkcycle code underneath?
Is this possible? any code i can add to have activate and the other deactivate maybe?
Cheers,
deftonesjacket
I have a Full character rig that has a walkcycle automation and when the character is stationary i have applied Duik Kleaner to Upper, Lower, Goal of the FK to give it nicer movement.
Issue is :
1. applying Kleaner to these 3 FK controls gets rid of the Walkcycle code applied there. i need to copy and paste the Walkcycle back in.
Is there a way to apply the Kleaner and keep existing code in the property?
2. Pasting the walkcycle code back in under the Kleaner code, fixes the walkcycle code but negates the Kleaner code results.
{//Duik.kleaner
var fx = effect("Kleaner");
//parameters
var doAnticipation = fx(1).value;
----the code goes on for awhile but the standard Kleaner code that is applied
}
result;
}
---Kleaner code ends here and ive pasted the walkcycle effect below it
{//Duik.walkCycle
var sideFx = effect("Arm")(1).value;
var walkFx = thisComp.layer("C | Walk Cycle").effect("Walk Cycle")
sideFx == 1 ? walkFx(67).value + value : walkFx(73).value + value
}
Is there a way to bring the Kleaner code back to life while having the walkcycle code underneath?
Is this possible? any code i can add to have activate and the other deactivate maybe?
Cheers,
deftonesjacket