Class PoseIntegrator<TCallbacks>
- Namespace
- BepuPhysics
- Assembly
- BepuPhysics.dll
Handles body integration work that isn't bundled into the solver's execution. Predicts bounding boxes, integrates velocity and poses for unconstrained bodies, and does final post-substepping pose integration for constrained bodies.
public class PoseIntegrator<TCallbacks> : IPoseIntegrator where TCallbacks : IPoseIntegratorCallbacks
Type Parameters
TCallbacks
- Inheritance
-
PoseIntegrator<TCallbacks>
- Implements
- Inherited Members
Constructors
PoseIntegrator(Bodies, Shapes, BroadPhase, TCallbacks)
public PoseIntegrator(Bodies bodies, Shapes shapes, BroadPhase broadPhase, TCallbacks callbacks)
Parameters
bodies
Bodiesshapes
ShapesbroadPhase
BroadPhasecallbacks
TCallbacks
Fields
Callbacks
public TCallbacks Callbacks
Field Value
- TCallbacks
Methods
IntegrateAfterSubstepping(IndexSet, float, int, IThreadDispatcher)
public void IntegrateAfterSubstepping(IndexSet constrainedBodies, float dt, int substepCount, IThreadDispatcher threadDispatcher)
Parameters
PredictBoundingBoxes(float, BufferPool, IThreadDispatcher)
public void PredictBoundingBoxes(float dt, BufferPool pool, IThreadDispatcher threadDispatcher = null)
Parameters
dt
floatpool
BufferPoolthreadDispatcher
IThreadDispatcher