For each loop in anim graph

Hello, how can I make a for each loop in an anim graph to avoid things like this :

2 Likes

I will be waiting for the answer for my same question…

Yeah :confused: so sad to see I can’t control bone with arrays

Up till now, it seems the only way to do so is to write a customized animation node with C++.

I have been doing so by modifying the source code of the Modify Bone node. The only problem unsolved is the mapping between the bone name (a string) to the actual bone in the code. By adding a for loop, and define the bone to modify as well as the transformations, we can reuse the code of the Modify Bone node.

Is there a better way built in (blueprints)?