Table of Contents

Interface ITimestepper

Namespace
BepuPhysics
Assembly
BepuPhysics.dll

Defines a type capable of updating the simulation state for a given elapsed time.

public interface ITimestepper

Methods

Timestep(Simulation, float, IThreadDispatcher)

Performs one timestep of the given length.

void Timestep(Simulation simulation, float dt, IThreadDispatcher threadDispatcher = null)

Parameters

simulation Simulation

Simulation to be stepped forward in time.

dt float

Duration of the time step.

threadDispatcher IThreadDispatcher

Thread dispatcher to use for execution, if any.

Events

BeforeCollisionDetection

Callbacks to execute immediately before collision detection executes.

event TimestepperStageHandler BeforeCollisionDetection

Event Type

TimestepperStageHandler

CollisionsDetected

Callbacks to execute after collision detection completes.

event TimestepperStageHandler CollisionsDetected

Event Type

TimestepperStageHandler