From 0703e5527fd95d86bb6621e61dbcb1a6e7f9329a Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Sun, 16 Jan 2022 16:40:59 +0100 Subject: Fix some solver issues - Fix the wrong codepath taken by the solver for contacts involving a collider without parent. - Properly adress the non-linear treatment of the friction direction - Simplify the sleeping strategy - Add an impulse resolution multiplier --- crates/rapier_testbed2d/Cargo.toml | 6 +++--- crates/rapier_testbed3d/Cargo.toml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'crates') diff --git a/crates/rapier_testbed2d/Cargo.toml b/crates/rapier_testbed2d/Cargo.toml index 60184a4..e031494 100644 --- a/crates/rapier_testbed2d/Cargo.toml +++ b/crates/rapier_testbed2d/Cargo.toml @@ -21,7 +21,7 @@ required-features = [ "dim2" ] [features] default = [ "dim2" ] dim2 = [ ] -parallel = [ "rapier2d/parallel", "num_cpus" ] +parallel = [ "rapier/parallel", "num_cpus" ] other-backends = [ "wrapped2d" ] @@ -33,7 +33,6 @@ instant = { version = "0.1", features = [ "web-sys", "now" ]} bitflags = "1" num_cpus = { version = "1", optional = true } wrapped2d = { version = "0.4", optional = true } -parry2d = "0.8" crossbeam = "0.8" bincode = "1" Inflector = "0.11" @@ -51,7 +50,8 @@ bevy = {version = "0.6", default-features = false, features = ["bevy_winit", "re bevy = {version = "0.6", default-features = false, features = ["bevy_winit", "render"]} #bevy_webgl2 = "0.5" -[dependencies.rapier2d] +[dependencies.rapier] +package = "rapier2d" path = "../rapier2d" version = "0.12.0-alpha.0" features = [ "serde-serialize" ] diff --git a/crates/rapier_testbed3d/Cargo.toml b/crates/rapier_testbed3d/Cargo.toml index 42c8e3a..99179f5 100644 --- a/crates/rapier_testbed3d/Cargo.toml +++ b/crates/rapier_testbed3d/Cargo.toml @@ -21,7 +21,7 @@ required-features = [ "dim3" ] [features] default = [ "dim3" ] dim3 = [ ] -parallel = [ "rapier3d/parallel", "num_cpus" ] +parallel = [ "rapier/parallel", "num_cpus" ] other-backends = [ "physx", "physx-sys", "glam" ] [dependencies] @@ -32,7 +32,6 @@ instant = { version = "0.1", features = [ "web-sys", "now" ]} bitflags = "1" glam = { version = "0.12", optional = true } num_cpus = { version = "1", optional = true } -parry3d = "0.8" physx = { version = "0.11", optional = true } physx-sys = { version = "0.4", optional = true } crossbeam = "0.8" @@ -53,7 +52,8 @@ bevy = {version = "0.6", default-features = false, features = ["bevy_winit", "re bevy = {version = "0.6", default-features = false, features = ["bevy_winit", "render"]} #bevy_webgl2 = "0.5" -[dependencies.rapier3d] +[dependencies.rapier] +package = "rapier3d" path = "../rapier3d" version = "0.12.0-alpha.0" features = [ "serde-serialize" ] \ No newline at end of file -- cgit