Hi,
I'm working on a test where I need to transform two separate values into a 2D array. The goal is to feed this array into the Array Add module, which will then be used to set the offset in the Placer module.
Could you please advise on the best way to accomplish this transformation?
Hi,
The green pins are vector types. You can have as many numeric values (scalars) in vectors as you want. This is what the Offset pin expects as well—not an array, but a vector. You can merge multiple numeric values into a vector using the Vector Merge, Vector Concat, or Vector Concat Multi modules.
The Array Add module and other modules that start with the word "array" can only be used inside an Array Compound. You can read more about the Array Compound here: https://aximmetry.com/learn/virtual-production-workflow/scripting-in-aximmetry/flow-editor/compound/#array-compound
Warmest regards,