Is there a way to use arrays in a control rig?

Hi!
I’m using the control rig to set bone transforms from an external blueprint. Everything works fine with ordinary variables, but I want to use arrays - it’s much easier that way. Is there some way to get transforms from an array by index?
The obvious solution doesn’t work for a some reason not obvious to me:

For now, I get around with separate variables, but it even looks like idiocy:

2 Likes

Would like to know that too. This really complicates things.

Upping this up!

In order to use Control Rig in production, Unreal needs to support instance editable Arrays.
Otherwise CRs are limited to predefined number of joints instead of letting a user enter an array of joints (with names for instance, or structures…)

I did try to workaround and expose a Items var because I noticed that’s how the CR called Arrays. But using that Collection type var in the CR would just make it crash right away when plugging it in a For each item node.


My only workaround for now was doing like @cheepySnake and exposing as many variables as members I need (at least structures help you store more into one var. I have an Array externally to the CR node, in the ABP, to set my Array more easily, but I still have to Get a Copy and break it down into separate members :’( )


I Think that you should use “At” instead of “get”