Matrix.Compute.Transformation.FollowShape
This node generates a 4 x 4 transformation matrix by following one of several ready-made 2D shapes.
The position input slot allows to choose the location on the path in the range 0.0 to 1.0, where 0.0 refers to the beginning of the path and 1.0 to the end of the path. By slowing increasing the position input from 0.0 to 1.0 over time, the transformation is following the path over time.
If the rotate flag is not set, the generated transformation contains only positional change (translation). If the rotate flag is set, the generated transformation contains translation and rotation.
The shape can be selected via the shape input slot:
Shape slot value | Shape name | Resulting shape |
0 | Circle | |
1 | Triangle | |
2 | Right-angled triangle | |
3 | Square | |
4 | Parallelogram | |
5 | Trapezium | |
6 | Four-pointed star | |
7 | Pentagon | |
8 | Pentagram | |
9 | Hexagon | |
10 | Hexagram | |
11 | Octagon | |
12 | Octagram | |
13 | Heart | |
14 | Cresent | |
15 | Arrow | |
16 | BendArrow | |
17 | Letter |
The example FollowShape demonstrates the usage of this node.