pub unsafe extern "C" fn PxRigidDynamic_setSolverIterationCounts_mut(
    self_: *mut PxRigidDynamic,
    minPositionIters: u32,
    minVelocityIters: u32
)
Expand description

Sets the solver iteration counts for the body.

The solver iteration count determines how accurately joints and contacts are resolved. If you are having trouble with jointed bodies oscillating and behaving erratically, then setting a higher position iteration count may improve their stability.

If intersecting bodies are being depenetrated too violently, increase the number of velocity iterations. More velocity iterations will drive the relative exit velocity of the intersecting objects closer to the correct value given the restitution.

Default: 4 position iterations, 1 velocity iteration