Type Alias IntegrationSet

Source
pub type IntegrationSet = IntegrationSystems;
👎Deprecated since 0.4.0: Renamed to IntegrationSystems
Expand description

A deprecated alias for IntegrationSystems.

Aliased Type§

pub enum IntegrationSet {
    UpdateVelocityIncrements,
    Velocity,
    Position,
    ClearVelocityIncrements,
}

Variants§

§

UpdateVelocityIncrements

Applies gravity and locked axes to the linear and angular velocity increments of bodies, and multiplies them by the substep delta time to get the final per-substep increments.

Runs in the PhysicsSchedule, in SolverSystems::PreSubstep.

§

Velocity

Applies velocity increments to the linear and angular velocities of bodies.

Typically runs in the SubstepSchedule, in IntegrationSystems::Velocity.

§

Position

Moves bodies based on their current velocities and the physics time step.

Typically runs in the SubstepSchedule, in IntegrationSystems::Position.

§

ClearVelocityIncrements

Clears the velocity increments of bodies after the substepping loop.

Runs in the PhysicsSchedule, in SolverSystems::PostSubstep.