PxSolverType

Defined in include/PxSceneDesc.h

struct PxSolverType

Enum for selecting the type of solver used for the simulation.

PxSolverType::ePGS selects the iterative sequential impulse solver. This is the same kind of solver used in PhysX 3.4 and earlier releases.

PxSolverType::eTGS selects a non linear iterative solver. This kind of solver can lead to improved convergence and handle large mass ratios, long chains and jointed systems better. It is slightly more expensive than the default solver and can introduce more energy to correct joint and contact errors.

Public Types

enum Enum

Values:

enumerator ePGS

Projected Gauss-Seidel iterative solver.

enumerator eTGS

Default Temporal Gauss-Seidel solver.