Function bevy_rapier3d::plugin::systems::step_simulation
source · pub fn step_simulation<Hooks>(
context: ResMut<'_, RapierContext>,
config: Res<'_, RapierConfiguration>,
hooks: StaticSystemParam<'_, '_, Hooks>,
time: Res<'_, Time>,
sim_to_render_time: ResMut<'_, SimulationToRenderTime>,
collision_events: EventWriter<'_, CollisionEvent>,
contact_force_events: EventWriter<'_, ContactForceEvent>,
interpolation_query: Query<'_, '_, (&RapierRigidBodyHandle, &mut TransformInterpolation)>
)where
Hooks: 'static + BevyPhysicsHooks,
for<'w, 's> SystemParamItem<'w, 's, Hooks>: BevyPhysicsHooks,
Expand description
System responsible for advancing the physics simulation, and updating the internal state for scene queries.