diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-01-16 16:40:59 +0100 |
|---|---|---|
| committer | Sébastien Crozet <developer@crozet.re> | 2022-01-16 16:52:40 +0100 |
| commit | 0703e5527fd95d86bb6621e61dbcb1a6e7f9329a (patch) | |
| tree | 806e7d950015875ebfcca5520784aea6e7c5ae10 /crates | |
| parent | 4454a845e98b990abf3929ca46b59d0fca5a18ec (diff) | |
| download | rapier-0703e5527fd95d86bb6621e61dbcb1a6e7f9329a.tar.gz rapier-0703e5527fd95d86bb6621e61dbcb1a6e7f9329a.tar.bz2 rapier-0703e5527fd95d86bb6621e61dbcb1a6e7f9329a.zip | |
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
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/rapier_testbed2d/Cargo.toml | 6 | ||||
| -rw-r--r-- | crates/rapier_testbed3d/Cargo.toml | 6 |
2 files changed, 6 insertions, 6 deletions
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 |
