Table of Contents

Class Simulation2DComponent

Namespace
Stride.CommunityToolkit.Bepu
Assembly
Stride.CommunityToolkit.Bepu.dll
[ComponentCategory("Bepu")]
public class Simulation2DComponent : SyncScript, IIdentifiable, ICollectorHolder, ISimulationUpdate, IComponent<ISimulationUpdate.SimUpdateProcessor, ISimulationUpdate>, IMarkedComponent
Inheritance
Simulation2DComponent
Implements
Inherited Members
Extension Methods

Methods

AfterSimulationUpdate(BepuSimulation, float)

Called after the simulation updates

public void AfterSimulationUpdate(BepuSimulation sim, float simTimeStep)

Parameters

sim BepuSimulation
simTimeStep float

The amount of time in seconds this simulation lasts for

SimulationUpdate(BepuSimulation, float)

Called before the simulation updates

public void SimulationUpdate(BepuSimulation sim, float simTimeStep)

Parameters

sim BepuSimulation
simTimeStep float

The amount of time in seconds this simulation lasts for

Update()

Called every frame.

public override void Update()