update_moved_collider_aabbs

Function update_moved_collider_aabbs 

Source
pub fn update_moved_collider_aabbs<C: AnyCollider>(
    colliders: ParamSet<'_, '_, (Query<'_, '_, (Entity, Ref<'_, Position>, Ref<'_, Rotation>, &mut ColliderAabb, &mut EnlargedAabb, Ref<'_, C>, Option<&CollisionMargin>, &ColliderTreeProxyKey), Without<ColliderDisabled>>, Query<'_, '_, &EnlargedAabb, Without<ColliderDisabled>>)>,
    narrow_phase_config: Res<'_, NarrowPhaseConfig>,
    length_unit: Res<'_, PhysicsLengthUnit>,
    trees: ResMut<'_, ColliderTrees>,
    moved_proxies: ResMut<'_, MovedProxies>,
    enlarged_proxies: ResMut<'_, EnlargedProxies>,
    collider_context: StaticSystemParam<'_, '_, C::Context>,
    diagnostics: ResMut<'_, ColliderTreeDiagnostics>,
    last_tick: Res<'_, LastPhysicsTick>,
    system_tick: SystemChangeTick,
)
Expand description

Updates the AABBs of colliders that have been manually moved after the previous physics step.