Setting and getting Control Rig control animation channel values from Blueprints

Hello

I have several animation channels under a control in my Control Rig.

How can I set or get their value using Blueprints and Control Rig Component?

There is a function Set Control Bool, Float etc. but it does not seem to work for animation channels that are assigned to a control?

Thank you!

Hey there,

Yep, there’s a little gotcha here. Animation Channel Control’s have a display name and a script name. Both are modifiable, but the one that matters is the script name. That is the name of the control that you are passing into the Set Control Bool or Float and the key that is searched by FRigControlElement* ControlElement = DynamicHierarchy->Find<FRigControlElement>(Key).

When you select the channel in the rig hierarchy, you’re looking for this:

[Image Removed]You can double click that and rename it right there.

Dustin

Oh, thank you! I thought I tried that and it seemed not to work, but now that I am trying again it works :smiley: classic!!