From 6871ff8f0376c7f7f8466f06d3fd62fd23f1fde6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 14:54:05 +0000 Subject: [PATCH] Bump oxidized_navigation from 0.6.0 to 0.7.0 [skip ci] Bumps [oxidized_navigation](https://github.com/TheGrimsey/oxidized_navigation) from 0.6.0 to 0.7.0. - [Release notes](https://github.com/TheGrimsey/oxidized_navigation/releases) - [Changelog](https://github.com/TheGrimsey/oxidized_navigation/blob/master/CHANGELOG.md) - [Commits](https://github.com/TheGrimsey/oxidized_navigation/commits/0.7.0) --- updated-dependencies: - dependency-name: oxidized_navigation dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 6 ++++-- Cargo.toml | 2 +- src/main.rs | 34 ++++++++++++++++------------------ 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7b05f584..bdd7020c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2696,12 +2696,14 @@ dependencies = [ [[package]] name = "oxidized_navigation" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d447d9d6e2b146c398a8824504cc4546b9f04c23df401de0d3a04901e5d67eae" +checksum = "492cce50ca064bb1437f984891e41181de5e958fa8ae955787eec137042cbf31" dependencies = [ "bevy", "bevy_rapier3d", + "nalgebra", + "parry3d", "smallvec", ] diff --git a/Cargo.toml b/Cargo.toml index 42ebdd7e..8ac51e1e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ bevy_replicon = "0.9" bevy_rapier3d = "0.22" bevy_mod_outline = "0.5" bevy_polyline = "0.7" -oxidized_navigation = "0.6" +oxidized_navigation = { version = "0.7", features = ["rapier"] } leafwing-input-manager = "0.10" serde = "1.0" strum = { version = "0.25", features = ["derive"] } diff --git a/src/main.rs b/src/main.rs index e0ed2619..985be786 100644 --- a/src/main.rs +++ b/src/main.rs @@ -56,24 +56,22 @@ fn main() { WireframePlugin, AtmospherePlugin, InputManagerPlugin::::default(), - OxidizedNavigationPlugin { - settings: NavMeshSettings { - cell_width: 0.25, - cell_height: 0.1, - tile_width: 100, - world_half_extents: 250.0, - world_bottom_bound: -100.0, - max_traversable_slope_radians: (40.0_f32 - 0.1).to_radians(), - walkable_height: 20, - walkable_radius: 1, - step_height: 3, - min_region_area: 100, - merge_region_area: 500, - max_contour_simplification_error: 1.1, - max_edge_length: 80, - max_tile_generation_tasks: None, - }, - }, + OxidizedNavigationPlugin::::new(NavMeshSettings { + cell_width: 0.25, + cell_height: 0.1, + tile_width: 100, + world_half_extents: 250.0, + world_bottom_bound: -100.0, + max_traversable_slope_radians: (40.0_f32 - 0.1).to_radians(), + walkable_height: 20, + walkable_radius: 1, + step_height: 3, + min_region_area: 100, + merge_region_area: 500, + max_contour_simplification_error: 1.1, + max_edge_length: 80, + max_tile_generation_tasks: None, + }), RapierPhysicsPlugin::::default(), RapierDebugRenderPlugin::default(), OutlinePlugin,