PathFollowerData
此内容尚不支持你的语言。
Defined in: sdk/src/spline/splinePlugin.ts:37
The fields of the PathFollower component.
Properties
Section titled “Properties”distance
Section titled “distance”distance:
number
Defined in: sdk/src/spline/splinePlugin.ts:43
How far along the curve it has gone, in world units. Written each frame; set it to start part-way along.
mode:
number
Defined in: sdk/src/spline/splinePlugin.ts:45
orient
Section titled “orient”orient:
number
Defined in: sdk/src/spline/splinePlugin.ts:47
playing
Section titled “playing”playing:
boolean
Defined in: sdk/src/spline/splinePlugin.ts:49
Whether it is moving. A Once follower stops itself at the end.
speed:
number
Defined in: sdk/src/spline/splinePlugin.ts:41
World units a second along the curve; negative runs it backwards.
spline
Section titled “spline”spline:
number
Defined in: sdk/src/spline/splinePlugin.ts:39
The entity that holds the Spline to follow.