Table of Contents

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 int

Index 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.