Documentation
    Preparing search index...

    Type Alias ForceFieldUnits

    ForceFieldUnits: "force" | "acceleration"

    How a ForceField's sampled vector is read (§26, §41).

    • "force" — newtons, applied as-is. What §27's wind, drag, spring and magnetic entries are naturally authored in.
    • "acceleration" — m/s², multiplied by the body's mass before it is applied, so every body accelerates equally. What §27's uniform and radial gravity entries are naturally authored in, and what every built-in field in @fourjs/particles documents itself as.

    There is no default: see the module header for why the choice is a required argument rather than a documented convention.