Skip to content

format

typescript
CharacterController.minPositionIters

class: CharacterController

description

The number of iterations the engine performs when solving for minimum position.

Increasing the number of iterations can improve collision stability and position constraint effects between objects, especially in cases of high-speed collisions or highly curved collisions, resulting in more accurate position simulation. However, excessive iterations may lead to performance loss, so it is necessary to adjust based on specific circumstances.

parameter

param_nametypedescription

reture

typedescription
numberThe number of iterations the engine performs when solving for minimum position.

code example