Pathfinder
沿路径移动或变形闭合的 Shapes。
- Behaviour
- Deformer
- Value
Travel - 沿 Input Shape 长度的百分比移动 Shape。
Loop - 勾选后,Shape 将回到 Path 的起点并继续动画。取消勾选后,Shape 将继续沿第一/最后一个点的方向前进。
Reverse Input Path - 反转 Input Path 的方向。
Input Shape - 连接一个 Shape,使当前 Shape 沿其定位/变形。
Taper Graph - 沿 Input Shape 的长度创建锥化效果。
Path Offset - 使 Shape 远离 Input Shape。
Flip - 沿 x 轴翻转 Shape。这对 Text 特别有用。
Rotation Offset - 为 Rotation 添加偏移。
Rotation(只读)- 输出沿 Input Shape 法线的旋转。将其连接到另一个 Shape 的 Rotation 属性。
-
创建一个 Rectangle。
-
将 Rectangle 的 Edge Divisions 中 Width (W) 设置为
20。 -
单击 Rectangle 上 Deformers 旁边的
+图标,添加一个 Pathfinder。 -
使用 Pen tool 绘制一条路径。
-
连接 path.id→pathfinder.inputShape。
-
创建一个 Ellipse。
-
使用 Pen tool 绘制一条路径。
-
创建一个 Pathfinder。
-
连接 path.id→pathfinder.inputShape。
-
连接 pathfinder.id→ellipse.position。
使用 Align behaviour 在添加 Pathfinder 之前将 Shapes 固定到其顶部/底部/左侧/右侧边缘,以便在 Input Path 的内部或外部对 Shapes 进行变形。