Skip to main content

CurveByOptions

Index

Properties

controlPoints

controlPoints: [control1: Vector, control2: Vector, end: Vector]

Curve relative to the current actor position to move

durationMs

durationMs: number

Total duration for the action to run

optionalmode

mode?: dynamic | uniform

Dynamic mode will speed up/slow down depending on the curve

Uniform mode will animate at a consistent velocity across the curve

Default: 'dynamic'

optionalquality

quality?: number
Page Options