Interface GSSolverOptions

Hierarchy

Properties

equationSortFunction?: ((a, b) => number)

Type declaration

    • (a, b): number
    • Function that is used to sort all equations before each solve.

      Parameters

      Returns number

frictionIterations?: number

Number of solver iterations that are used to approximate normal forces used for friction

iterations?: number

The max number of iterations to do when solving. More gives better results, but is more expensive.

tolerance?: number

The error tolerance, per constraint.