Delegate SubstepVelocityIterationScheduler
- Namespace
- BepuPhysics
- Assembly
- BepuPhysics.dll
Callback executed to determine how many velocity iterations should be used for a given substep.
public delegate int SubstepVelocityIterationScheduler(int substepIndex)
Parameters
substepIndex
intIndex of the substep to schedule velocity iterations for.
Returns
- int
Number of velocity iterations to use for the substep. If nonpositive, VelocityIterationCount will be used for the substep instead.