Options
All
  • Public
  • Public/Protected
  • All
Menu

A Rotation behavior that blocks all rotation caused by spawn settings, by resetting it to the specified rotation (or 0).

Example configuration:

{
"type": "noRotation",
"config": {
"rotation": 0
}
}

Hierarchy

  • NoRotationBehavior

Implements

Index

Constructors

Properties

order: number = ...

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.

rotation: number
editorConfig: BehaviorEditorConfig = null
type: string = 'noRotation'

Methods

Generated using TypeDoc