Using multiple flows
Last updated
Last updated
You can create multiple flows within a single AFX graph, with each flow initiated by a different type of event. For example, if you wanted to calculate a translation vector when the graph first executes, and then apply it to an object each frame, you could use an arrangement similar to that shown in the following image.
The Translate
node is activated in each update phase of the scripting lifecycle. However, the Set Vector 3
node will be activated once in the start phase of the scripting lifecycle.