Nodes can have multiple Inputs and Outputs.
Inputs are data that are fed into the node, while Outputs are the data coming out of the node. Input values can be set manually or by using a link. To connect two nodes, simply drag a link either from the Input or Output to the other node, as shown in the video.
Links can be dragged either from the node itself, like in the video, or from the details panel when selecting the node.
Connections between node Inputs and Outputs are done with links. There are three main link types: Push links, Reader links, and Target links.
As the name suggests, push links push values. Push links are also used to execute the following node in the flow. Links that execute the connected node are Red, while nonexecuting links are Gray.
Link order is important when pushing values. Output links are executed in order, from top to bottom, when the node is executed.
Link order can be adjusted, so the links are executed in correct order. To do this, tap the three dots next to the Output. A new window will open with all the Output links, which can be dragged up and down the list by tapping and holding the two lines on the right side.
One of the most common issues is that links are not in the correct order. If your logic doesn't work as expected, it's a good idea to check the link order.
Unlike Push links, Reader links don't execute the Outputs in the node they are connected to. Instead, they work backwards from the executed node, doing the operations and reading the values where needed.
Reader links are colored by type:
Color | Type |
---|---|
Orange | Vector |
Yellow | Number |
Purple | Rotation |
Blue | Object |
Target links are green and they are used to set targets for various nodes. Being a target for a node means that the action this node executes will be performed by the target, for example.
In this sense, you can set the HypeHype cube to be the target of a Force node.
connectingnodes_targetlink.mp4