PixiJS Particle Emitter - Rotation Static
Rotation Static behavior controls a particle’s starting rotation.
Parameters
- min: number - minimum starting rotation. Think of this as the
emitters rotation. Assuming the particle has an emission speed, the particle
emits in a direction between min and max. 0 to to the right,
90 is down, 180 is left, 270 is up.
- max: number - maximum starting rotation.
Rotation Behavior Example:
Rotation Behavior Configuration:
– other configuration excluded for brevity
{
type: "rotationStatic",
config: {
"min": 0,
"max": 180,
}
}
PixiJS Particle Emitter: The Unauthorized Manual