Function big_space::update_global_from_grid
source · pub fn update_global_from_grid<P: GridPrecision>(
settings: Res<'_, FloatingOriginSettings>,
origin: Query<'_, '_, (&GridCell<P>, Changed<GridCell<P>>), With<FloatingOrigin>>,
entities: ParamSet<'_, '_, (Query<'_, '_, (&Transform, &mut GlobalTransform, &GridCell<P>), Or<(Changed<GridCell<P>>, Changed<Transform>)>>, Query<'_, '_, (&Transform, &mut GlobalTransform, &GridCell<P>)>)>
)Expand description
Compute the GlobalTransform relative to the floating origin.