PathFollower
此内容尚不支持你的语言。
constPathFollower:ComponentDef<PathFollowerData>
Defined in: sdk/src/spline/splinePlugin.ts:60
Moves its entity along the Spline of another: an enemy on a patrol route, a platform on a rail, a camera on a track. It sets the entity’s
own position (and rotation, when asked), so a follower sits at the top of the hierarchy. The curve is read through its entity’s
Transform, so moving, turning or scaling the spline moves the whole route. It advances by the length of the curve, not by its parameter,
so it goes at speed everywhere on it.