Function de_movement::repulsion::repel_bounds
source · fn repel_bounds(
bounds: Res<'_, MapBounds>,
objects: Query<'_, '_, (&DesiredVelocity<PathVelocity>, &Disc, &mut Repulsion)>
)
fn repel_bounds(
bounds: Res<'_, MapBounds>,
objects: Query<'_, '_, (&DesiredVelocity<PathVelocity>, &Disc, &mut Repulsion)>
)