The list of the algorithms for position corretion.

Static variables

@:value(_BAUMGARTE)staticread onlyBAUMGARTE:Int = _BAUMGARTE

Baumgarte stabilizaiton. Fastest but introduces extra energy.

@:value(_NGS)staticread onlyNGS:Int = _NGS

Nonlinear Gauss-Seidel method. Slow but stable.

@:value(_SPLIT_IMPULSE)staticread onlySPLIT_IMPULSE:Int = _SPLIT_IMPULSE

Use split impulse and pseudo velocity. Fast enough and does not introduce extra energy, but somewhat unstable, especially for joints.