@@ -271,15 +271,6 @@ export interface PhysicsProps {
271271 */
272272 numSolverIterations ?: number ;
273273
274- /**
275- * Number of addition friction resolution iteration run during the last solver sub-step.
276- * The greater this value is, the most realistic friction will be.
277- * However a greater number of iterations is more computationally intensive.
278- *
279- * @defaultValue 4
280- */
281- numAdditionalFrictionIterations ?: number ;
282-
283274 /**
284275 * Number of internal Project Gauss Seidel (PGS) iterations run at each solver iteration.
285276 * Increasing this parameter will improve stability of the simulation. It will have a lesser effect than
@@ -417,7 +408,6 @@ export const Physics: FC<PhysicsProps> = (props) => {
417408 allowedLinearError = 0.001 ,
418409 predictionDistance = 0.002 ,
419410 numSolverIterations = 4 ,
420- numAdditionalFrictionIterations = 4 ,
421411 numInternalPgsIterations = 1 ,
422412 minIslandSize = 128 ,
423413 maxCcdSubsteps = 1 ,
@@ -461,8 +451,6 @@ export const Physics: FC<PhysicsProps> = (props) => {
461451 worldProxy . gravity = vector3ToRapierVector ( gravity ) ;
462452
463453 worldProxy . integrationParameters . numSolverIterations = numSolverIterations ;
464- worldProxy . integrationParameters . numAdditionalFrictionIterations =
465- numAdditionalFrictionIterations ;
466454 worldProxy . integrationParameters . numInternalPgsIterations =
467455 numInternalPgsIterations ;
468456
@@ -479,7 +467,6 @@ export const Physics: FC<PhysicsProps> = (props) => {
479467 worldProxy ,
480468 ...gravity ,
481469 numSolverIterations ,
482- numAdditionalFrictionIterations ,
483470 numInternalPgsIterations ,
484471 allowedLinearError ,
485472 minIslandSize ,
0 commit comments