pub type PhysicsSet = PhysicsSystems;
👎Deprecated since 0.4.0: Renamed to
PhysicsSystems
Expand description
A deprecated alias for PhysicsSystems
.
Aliased Type§
pub enum PhysicsSet {
First,
Prepare,
StepSimulation,
Writeback,
Last,
}
Variants§
First
Runs right before any of Avian’s physics systems. Empty by default.
Prepare
Responsible for preparing data for the physics simulation, such as updating physics transforms or mass properties.
StepSimulation
Responsible for advancing the simulation by running the steps in PhysicsStepSystems
.
Systems in this set are run in the PhysicsSchedule
.
Writeback
Responsible for writing back the results of the physics simulation to other data,
such as updating Transform
based on the new Position
and Rotation
.
Last
Runs right after all of Avian’s physics systems. Empty by default.