hubs
hubs copied to clipboard
BG - Need arrays to store entities, other values
Is your feature request related to a problem? Please describe.
In behavior graphs, it can be difficult (and in many cases, impossible) to manage multiple entities or other values at once.
For example, if you want to perform a Set Material
on 100 objects at once, it would be far simpler to have stored those 100 objects in an Array variable and to perform that operation on the array.
I could imagine similar operations being done on materials, positions, rotations, etc... For example, "Set the Emissive Intensity of all of these materials to zero". Or "Set all these objects' rotation to match the player rotation".
Describe the solution you'd like I'm not sure what the interface for defining an Array would look like, but I imagine Unreal has some patterns that are useful.
Describe alternatives you've considered
Trying to do similar operations using Loop
nodes hasn't been particularly useful nor successful.
Additional context Unreal examples