From a804ef90f1b2ff8fe1de51327325bfa1314c0164 Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Mon, 6 May 2024 21:51:39 -0700 Subject: [PATCH] Update rapier3d-0.19 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fbc583ea..63c09066 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -55,7 +55,7 @@ log = { workspace = true } mint = { workspace = true, features = ["serde"] } num_cpus = "1" profiling = { workspace = true } -rapier3d = { version = "0.18", features = ["debug-render"] } +rapier3d = { version = "0.19", features = ["debug-render"] } serde = { version = "1", features = ["serde_derive"] } slab = "0.4" strum = { workspace = true } diff --git a/src/lib.rs b/src/lib.rs index b9541d99..84de4989 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -254,7 +254,7 @@ struct Physics { multibody_joints: rapier3d::dynamics::MultibodyJointSet, solver: rapier3d::dynamics::CCDSolver, colliders: rapier3d::geometry::ColliderSet, - broad_phase: rapier3d::geometry::BroadPhase, + broad_phase: rapier3d::geometry::DefaultBroadPhase, narrow_phase: rapier3d::geometry::NarrowPhase, gravity: rapier3d::math::Vector, pipeline: rapier3d::pipeline::PhysicsPipeline,