constraint_path
Adds a Path constraint to objects so they follow a spline path, with an animatable travel percentage from 0 to 100 for motion control.
Instructions
给对象加 Path 约束,使其沿一条样条曲线运动。percent 是可在动画中驱动的运动百分比(0-100)。 [English] Add a Path constraint so the object follows a spline. percent is the animatable travel percentage (0-100) you can drive in the animation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 路径样条对象名。 | Path spline object name. | |
| follow | No | true=让对象朝向路径切线方向。 | true=orient the object along the path tangent. | |
| objects | No | 被约束的对象名列表;省略则用当前选择。 | Constrained objects; omit for the current selection. | |
| percent | No | 初始运动百分比(0-100)。 | Initial travel percentage (0-100). |