Physics · interface

Parallelism

What a world's island solving is actually doing, and why.

Explained in Your first game, Rigid bodies.

interface Parallelism
import type { Parallelism } from '@driftengine/physics';

Properties

NameTypeDescription
requestednumberWorkers the consumer asked for.
runningnumberWorkers running. Zero with a non-empty reason is a working fallback, not a failure.
reasonstringEmpty when running matches requested. A whole sentence otherwise.