Attribute Position node
This node can be used to get some attribute, and pass it to the Affect or Math node, for further influencing other parameters.
This node connects to the bottom left connector or the bottom right connector
of the Path node. Just like any other direction modifier node.
The drop-down list allows you to select a point on the path line for which the position will be calculated:
- Starting point - starting point of the path line;
- Nearest point - nearest point on the path line;
- Midpoint - distance midpoint on the path line;
- Far point - farthest point on the path line;
- End point - end point of the path line;
The drop-down list allows you to select what exactly will be calculated:
- X coordinate;
- Y coordinate;
- Z coordinate;
- Radius from Z-axis;
The result of the calculation is passed here. You can link the connector on the right to any parameter directly,
or connect an Affect or Math node to further influence other parameters.
Accordingly, if you select Starting point and Z coordinate, then the z-coordinate of the starting point will be calculated for each path line, and this value will be passed to Result.
Here you can see that the radius from the Z axis is calculated for the starting point of the red path lines, the result is multiplied by 2 in the Math_01 node, and then this result is subtracted from 50.0 in the Math_02 node.
Result: red branches closest to the trunk center bend up, and farthest from the trunk center bend down.