Hello there,
I’m wondering how I can automatize things in the animgraph instead of doing them one after the other.
Let’s say you have a skeletal mesh with 10 bones, and you want to transform each one with a value stored in an array[10].
1/ Can you loop on your array directly in the animgraph?
2/ Can you use a CPP function like in the eventgraph to do the job?
3/ What is the best pratice?
@anonymous_user_3f3d70451, Welcome to the forums!
Have you looked into any blueprint macros? They might be able to help you figure out a bit of the Automation:
As a follow-up question though, are you meaning you want to have the positions manually stored in an array, or the value to move each piece stored in the array?
I hope this can help!
-Zen
Thanks for the reply, and yes I mean value to move each piece sstored in the array.
I’m not sure macros are what I need here as there will still be 1 macro per item in the animgraph.
I was more thinking about adding a “function” writtten in c++ callable in the animgraph to do the whole for loop thing.