Align to Path Expression

与路径表达式对齐

Basic 基础Tag 标签

Align to Path Expression

与路径表达式对齐

Suppose you are animating an airplane. You have created the path it should follow using a Position track, but the plane always points in the same direction (Figure 1). To get the plane pointing in the right direction, use an Align To Path tag (Figure 2). Then, the object will always follow the animation path with its Z axis parallel to the tangent of the path.

假设你在制作一架飞机的动画。您已经使用 Position 轨迹创建了它应该遵循的路径,但是平面始终指向同一个方向(图1)。要使平面指向正确的方向,可以使用 Align To Path 标记(图2)。然后,对象将始终遵循其 z 轴平行于路径的切线的动画路径。

Left: Without an Align To Path tag; right: with aligned rotation keys. 左: 没有对齐到路径标记; 右: 使用对齐的旋转键

The object’s X axis always stays parallel to the XZ world coordinates. Thus, the plane (and the camera) follow the natural motion path.

对象的 x 轴总是平行于 XZ 世界坐标。因此,平面(和摄像机)遵循自然运动路径。