clik-engine API
    Preparing search index...

    Class ForceField

    Force fields that affect particles in an area.

    Usage:

    const field = new ForceField({ type: 'attractor', x: 400, y: 300, strength: 500, radius: 200 });
    // In particle update:
    field.apply(particle, delta);
    Index

    Constructors

    Accessors

    Methods