Type Alias PhysicsStepSet

Source
pub type PhysicsStepSet = PhysicsStepSystems;
👎Deprecated since 0.4.0: Renamed to PhysicsStepSystems
Expand description

A deprecated alias for PhysicsStepSystems.

Aliased Type§

pub enum PhysicsStepSet {
    First,
    BroadPhase,
    NarrowPhase,
    Solver,
    Sleeping,
    SpatialQuery,
    Finalize,
    Last,
}

Variants§

§

First

Runs at the start of the PhysicsSchedule.

§

BroadPhase

Responsible for finding pairs of entities with overlapping ColliderAabb and creating contact pairs for them in the ContactGraph.

See BroadPhasePlugin.

§

NarrowPhase

Responsible for updating contacts in the ContactGraph and processing contact state changes.

See NarrowPhasePlugin.

§

Solver

Responsible for running the solver and its substepping loop.

See SolverPlugin and SubstepSchedule.

§

Sleeping

Responsible for controlling when bodies should be deactivated and marked as Sleeping.

§

SpatialQuery

Responsible for spatial queries like raycasting and shapecasting.

See SpatialQueryPlugin.

§

Finalize

Responsible for logic that runs after the core physics step and prepares for the next one.

§

Last

Runs at the end of the PhysicsSchedule.