Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IMovePath

Interface that defines a path defined by an array of Queue objects and a tension to use when interpolating between the queues.

Hierarchy

  • IMovePath

Index

Properties

Properties

queues

queues: Queue[]

Array of Queue objects that define the path.

Optional radius

radius: number

Value that defines a turning radius for entities.

Setting this option to a value greater than zero causes the Animation to add extra points to multi-queue paths to constrain entities when turning.

Radius values have no effect on entity travel times.

Optional tension

tension: number

Value that defines the tension of the splines used to interpolate between the queues.

Zero (0) creates a path with straight line segments, one (1) generates smooth curves.

Tension values greater than zero cause entities to move close to intermediate nodes rather than directly over them.

Tension values have no effect on entity travel times.

Generated using TypeDoc