Options
All
  • Public
  • Public/Protected
  • All
Menu

A Movement behavior that uses a randomly picked constant speed throughout a particle's lifetime. Movement direction is controlled by the particle's starting rotation.

Example config:

{
type: 'moveSpeedStatic',
config: {
min: 100,
max: 150
}
}

Hierarchy

  • StaticSpeedBehavior

Implements

Index

Constructors

Properties

max: number
min: number
order: BehaviorOrder = BehaviorOrder.Late

Order in which the behavior will be handled. Lower numbers are handled earlier, with an order of 0 getting special treatment before the Emitter's transformation is applied.

editorConfig: BehaviorEditorConfig = null
type: string = 'moveSpeedStatic'

Methods

  • updateParticle(particle: Particle, deltaSec: number): void

Generated using TypeDoc