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
simulationSimulationSimulation to be stepped forward in time.
dtfloatDuration of the time step.
threadDispatcherIThreadDispatcherThread dispatcher to use for execution, if any.
Events
BeforeCollisionDetection
Callbacks to execute immediately before collision detection executes.
event TimestepperStageHandler BeforeCollisionDetection
  Event Type
CollisionsDetected
Callbacks to execute after collision detection completes.
event TimestepperStageHandler CollisionsDetected