Path2
Function. Outputs a point on a user-defined 2D path.
Valid input range is [0; 1], where 0 corresponds to the start of the path and 1 to the end. When the block is selected, the path can be edited visually in the Preview window.
Paths can contain linear and Bezier curve segments.
Properties & inputs:
- Bezier subdiv. (property): Number of linear segments each Bezier curve is divided into. Higher values produce smoother curves.
Outputs:
- Length (float): Total length of the path.
- Position (vec2): 2D position on the path at the given input value.
- Direction (vec2): 2D direction (tangent) of the path at the given input value.