Release v0.6.0
This commit is contained in:
20
CHANGELOG.md
20
CHANGELOG.md
@@ -1,3 +1,23 @@
|
|||||||
|
## v0.6.0
|
||||||
|
### Added
|
||||||
|
The support of **dominance groups** have been added. Each rigid-body is part of a dominance group in [-127; 127]
|
||||||
|
(the default is 0). If two rigid-body are in contact, the one with the highest dominance will act as if it has
|
||||||
|
an infinite mass, making it immune to the forces the other body would apply on it. See [#122](https://github.com/dimforge/rapier/pull/122)
|
||||||
|
for further details.
|
||||||
|
|
||||||
|
The support for **contact modification** has been added. This can bee used to simulate conveyor belts,
|
||||||
|
one-way platforms and other non-physical effects. It can also be used to simulate materials with
|
||||||
|
variable friction and restitution coefficient on a single collider. See [#120](https://github.com/dimforge/rapier/pull/120)
|
||||||
|
for further details.
|
||||||
|
|
||||||
|
The support for **joint motors** have been added. This can be used to control the position and/or
|
||||||
|
velocity of a joint based on a spring-like equation. See [#119](https://github.com/dimforge/rapier/pull/119)
|
||||||
|
for further details.
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
- The `ContactPairFilter` and `IntersectionPairFilter` traits have been removed. They are both
|
||||||
|
combined in a single new trait: `PhysicsHooks`.
|
||||||
|
|
||||||
## v0.5.0
|
## v0.5.0
|
||||||
In this release we are dropping `ncollide` and use our new crate [`parry`](https://parry.rs)
|
In this release we are dropping `ncollide` and use our new crate [`parry`](https://parry.rs)
|
||||||
instead! This comes with a lot of new features, as well as two new crates: `rapier2d-f64` and
|
instead! This comes with a lot of new features, as well as two new crates: `rapier2d-f64` and
|
||||||
|
|||||||
10
Cargo.toml
10
Cargo.toml
@@ -18,11 +18,11 @@ members = [ "build/rapier2d", "build/rapier2d-f64", "build/rapier_testbed2d", "e
|
|||||||
#nalgebra = { path = "../nalgebra" }
|
#nalgebra = { path = "../nalgebra" }
|
||||||
|
|
||||||
#kiss3d = { git = "https://github.com/sebcrozet/kiss3d" }
|
#kiss3d = { git = "https://github.com/sebcrozet/kiss3d" }
|
||||||
nalgebra = { git = "https://github.com/dimforge/nalgebra", branch = "dev" }
|
#nalgebra = { git = "https://github.com/dimforge/nalgebra", branch = "dev" }
|
||||||
parry2d = { git = "https://github.com/dimforge/parry" }
|
#parry2d = { git = "https://github.com/dimforge/parry" }
|
||||||
parry3d = { git = "https://github.com/dimforge/parry" }
|
#parry3d = { git = "https://github.com/dimforge/parry" }
|
||||||
parry2d-f64 = { git = "https://github.com/dimforge/parry" }
|
#parry2d-f64 = { git = "https://github.com/dimforge/parry" }
|
||||||
parry3d-f64 = { git = "https://github.com/dimforge/parry" }
|
#parry3d-f64 = { git = "https://github.com/dimforge/parry" }
|
||||||
#ncollide2d = { git = "https://github.com/dimforge/ncollide" }
|
#ncollide2d = { git = "https://github.com/dimforge/ncollide" }
|
||||||
#ncollide3d = { git = "https://github.com/dimforge/ncollide" }
|
#ncollide3d = { git = "https://github.com/dimforge/ncollide" }
|
||||||
#nphysics2d = { git = "https://github.com/dimforge/nphysics" }
|
#nphysics2d = { git = "https://github.com/dimforge/nphysics" }
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ other-backends = [ "rapier_testbed2d/other-backends" ]
|
|||||||
enhanced-determinism = [ "rapier2d/enhanced-determinism" ]
|
enhanced-determinism = [ "rapier2d/enhanced-determinism" ]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "0.7"
|
rand = "0.8"
|
||||||
Inflector = "0.11"
|
Inflector = "0.11"
|
||||||
nalgebra = "0.24"
|
nalgebra = "0.25"
|
||||||
|
|
||||||
[dependencies.rapier_testbed2d]
|
[dependencies.rapier_testbed2d]
|
||||||
path = "../build/rapier_testbed2d"
|
path = "../build/rapier_testbed2d"
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ other-backends = [ "rapier_testbed3d/other-backends" ]
|
|||||||
enhanced-determinism = [ "rapier3d/enhanced-determinism" ]
|
enhanced-determinism = [ "rapier3d/enhanced-determinism" ]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "0.7"
|
rand = "0.8"
|
||||||
Inflector = "0.11"
|
Inflector = "0.11"
|
||||||
nalgebra = "0.24"
|
nalgebra = "0.25"
|
||||||
|
|
||||||
[dependencies.rapier_testbed3d]
|
[dependencies.rapier_testbed3d]
|
||||||
path = "../build/rapier_testbed3d"
|
path = "../build/rapier_testbed3d"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rapier2d-f64"
|
name = "rapier2d-f64"
|
||||||
version = "0.5.0"
|
version = "0.6.0"
|
||||||
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
|
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
|
||||||
description = "2-dimensional physics engine in Rust."
|
description = "2-dimensional physics engine in Rust."
|
||||||
documentation = "http://docs.rs/rapier2d"
|
documentation = "http://docs.rs/rapier2d"
|
||||||
@@ -39,9 +39,9 @@ required-features = [ "dim2", "f64" ]
|
|||||||
vec_map = "0.8"
|
vec_map = "0.8"
|
||||||
instant = { version = "0.1", features = [ "now" ]}
|
instant = { version = "0.1", features = [ "now" ]}
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
nalgebra = "0.24"
|
nalgebra = "0.25"
|
||||||
parry2d-f64 = "0.1"
|
parry2d-f64 = "0.2"
|
||||||
simba = "0.3"
|
simba = "0.4"
|
||||||
approx = "0.4"
|
approx = "0.4"
|
||||||
rayon = { version = "1", optional = true }
|
rayon = { version = "1", optional = true }
|
||||||
crossbeam = "0.8"
|
crossbeam = "0.8"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rapier2d"
|
name = "rapier2d"
|
||||||
version = "0.5.0"
|
version = "0.6.0"
|
||||||
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
|
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
|
||||||
description = "2-dimensional physics engine in Rust."
|
description = "2-dimensional physics engine in Rust."
|
||||||
documentation = "http://docs.rs/rapier2d"
|
documentation = "http://docs.rs/rapier2d"
|
||||||
@@ -39,9 +39,9 @@ required-features = [ "dim2", "f32" ]
|
|||||||
vec_map = "0.8"
|
vec_map = "0.8"
|
||||||
instant = { version = "0.1", features = [ "now" ]}
|
instant = { version = "0.1", features = [ "now" ]}
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
nalgebra = "0.24"
|
nalgebra = "0.25"
|
||||||
parry2d = "0.1"
|
parry2d = "0.2"
|
||||||
simba = "0.3"
|
simba = "0.4"
|
||||||
approx = "0.4"
|
approx = "0.4"
|
||||||
rayon = { version = "1", optional = true }
|
rayon = { version = "1", optional = true }
|
||||||
crossbeam = "0.8"
|
crossbeam = "0.8"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rapier3d-f64"
|
name = "rapier3d-f64"
|
||||||
version = "0.5.0"
|
version = "0.6.0"
|
||||||
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
|
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
|
||||||
description = "3-dimensional physics engine in Rust."
|
description = "3-dimensional physics engine in Rust."
|
||||||
documentation = "http://docs.rs/rapier3d"
|
documentation = "http://docs.rs/rapier3d"
|
||||||
@@ -39,9 +39,9 @@ required-features = [ "dim3", "f64" ]
|
|||||||
vec_map = "0.8"
|
vec_map = "0.8"
|
||||||
instant = { version = "0.1", features = [ "now" ]}
|
instant = { version = "0.1", features = [ "now" ]}
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
nalgebra = "0.24"
|
nalgebra = "0.25"
|
||||||
parry3d-f64 = "0.1"
|
parry3d-f64 = "0.2"
|
||||||
simba = "0.3"
|
simba = "0.4"
|
||||||
approx = "0.4"
|
approx = "0.4"
|
||||||
rayon = { version = "1", optional = true }
|
rayon = { version = "1", optional = true }
|
||||||
crossbeam = "0.8"
|
crossbeam = "0.8"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rapier3d"
|
name = "rapier3d"
|
||||||
version = "0.5.0"
|
version = "0.6.0"
|
||||||
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
|
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
|
||||||
description = "3-dimensional physics engine in Rust."
|
description = "3-dimensional physics engine in Rust."
|
||||||
documentation = "http://docs.rs/rapier3d"
|
documentation = "http://docs.rs/rapier3d"
|
||||||
@@ -39,9 +39,9 @@ required-features = [ "dim3", "f32" ]
|
|||||||
vec_map = "0.8"
|
vec_map = "0.8"
|
||||||
instant = { version = "0.1", features = [ "now" ]}
|
instant = { version = "0.1", features = [ "now" ]}
|
||||||
num-traits = "0.2"
|
num-traits = "0.2"
|
||||||
nalgebra = "0.24"
|
nalgebra = "0.25"
|
||||||
parry3d = "0.1"
|
parry3d = "0.2"
|
||||||
simba = "0.3"
|
simba = "0.4"
|
||||||
approx = "0.4"
|
approx = "0.4"
|
||||||
rayon = { version = "1", optional = true }
|
rayon = { version = "1", optional = true }
|
||||||
crossbeam = "0.8"
|
crossbeam = "0.8"
|
||||||
|
|||||||
@@ -26,17 +26,17 @@ other-backends = [ "wrapped2d", "nphysics2d" ]
|
|||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nalgebra = "0.24"
|
nalgebra = "0.25"
|
||||||
kiss3d = { version = "0.29", features = [ "conrod" ] }
|
kiss3d = { version = "0.30", features = [ "conrod" ] }
|
||||||
rand = "0.7"
|
rand = "0.8"
|
||||||
rand_pcg = "0.2"
|
rand_pcg = "0.3"
|
||||||
instant = { version = "0.1", features = [ "web-sys", "now" ]}
|
instant = { version = "0.1", features = [ "web-sys", "now" ]}
|
||||||
bitflags = "1"
|
bitflags = "1"
|
||||||
num_cpus = { version = "1", optional = true }
|
num_cpus = { version = "1", optional = true }
|
||||||
wrapped2d = { version = "0.4", optional = true }
|
wrapped2d = { version = "0.4", optional = true }
|
||||||
parry2d = "0.1"
|
parry2d = "0.2"
|
||||||
ncollide2d = "0.27"
|
ncollide2d = "0.28"
|
||||||
nphysics2d = { version = "0.19", optional = true }
|
nphysics2d = { version = "0.20", optional = true }
|
||||||
crossbeam = "0.8"
|
crossbeam = "0.8"
|
||||||
bincode = "1"
|
bincode = "1"
|
||||||
Inflector = "0.11"
|
Inflector = "0.11"
|
||||||
@@ -44,5 +44,5 @@ md5 = "0.7"
|
|||||||
|
|
||||||
[dependencies.rapier2d]
|
[dependencies.rapier2d]
|
||||||
path = "../rapier2d"
|
path = "../rapier2d"
|
||||||
version = "0.5"
|
version = "0.6"
|
||||||
features = [ "serde-serialize" ]
|
features = [ "serde-serialize" ]
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rapier_testbed3d"
|
name = "rapier_testbed3d"
|
||||||
version = "0.5.0"
|
version = "0.6.0"
|
||||||
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
|
authors = [ "Sébastien Crozet <developer@crozet.re>" ]
|
||||||
description = "Testbed for the Rapier3-dimensional physics engine in Rust."
|
description = "Testbed for the Rapier3-dimensional physics engine in Rust."
|
||||||
homepage = "http://rapier.org"
|
homepage = "http://rapier.org"
|
||||||
@@ -25,18 +25,18 @@ parallel = [ "rapier3d/parallel", "num_cpus" ]
|
|||||||
other-backends = [ "physx", "physx-sys", "glam", "nphysics3d" ]
|
other-backends = [ "physx", "physx-sys", "glam", "nphysics3d" ]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
nalgebra = "0.24"
|
nalgebra = "0.25"
|
||||||
kiss3d = { version = "0.29", features = [ "conrod" ] }
|
kiss3d = { version = "0.30", features = [ "conrod" ] }
|
||||||
rand = "0.7"
|
rand = "0.8"
|
||||||
rand_pcg = "0.2"
|
rand_pcg = "0.3"
|
||||||
instant = { version = "0.1", features = [ "web-sys", "now" ]}
|
instant = { version = "0.1", features = [ "web-sys", "now" ]}
|
||||||
bitflags = "1"
|
bitflags = "1"
|
||||||
glam = { version = "0.11", optional = true }
|
glam = { version = "0.12", optional = true }
|
||||||
num_cpus = { version = "1", optional = true }
|
num_cpus = { version = "1", optional = true }
|
||||||
parry3d = "0.1"
|
parry3d = "0.2"
|
||||||
ncollide3d = "0.27"
|
ncollide3d = "0.28"
|
||||||
nphysics3d = { version = "0.19", optional = true }
|
nphysics3d = { version = "0.20", optional = true }
|
||||||
physx = { version = "0.10", optional = true }
|
physx = { version = "0.11", optional = true }
|
||||||
physx-sys = { version = "0.4", optional = true }
|
physx-sys = { version = "0.4", optional = true }
|
||||||
crossbeam = "0.8"
|
crossbeam = "0.8"
|
||||||
bincode = "1"
|
bincode = "1"
|
||||||
@@ -47,5 +47,5 @@ serde = { version = "1", features = [ "derive" ] }
|
|||||||
|
|
||||||
[dependencies.rapier3d]
|
[dependencies.rapier3d]
|
||||||
path = "../rapier3d"
|
path = "../rapier3d"
|
||||||
version = "0.5"
|
version = "0.6"
|
||||||
features = [ "serde-serialize" ]
|
features = [ "serde-serialize" ]
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ other-backends = [ "rapier_testbed2d/other-backends" ]
|
|||||||
enhanced-determinism = [ "rapier2d/enhanced-determinism" ]
|
enhanced-determinism = [ "rapier2d/enhanced-determinism" ]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "0.7"
|
rand = "0.8"
|
||||||
Inflector = "0.11"
|
Inflector = "0.11"
|
||||||
nalgebra = "0.24"
|
nalgebra = "0.25"
|
||||||
lyon = "0.17"
|
lyon = "0.17"
|
||||||
usvg = "0.13"
|
usvg = "0.13"
|
||||||
|
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ other-backends = [ "rapier_testbed3d/other-backends" ]
|
|||||||
enhanced-determinism = [ "rapier3d/enhanced-determinism" ]
|
enhanced-determinism = [ "rapier3d/enhanced-determinism" ]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
rand = "0.7"
|
rand = "0.8"
|
||||||
Inflector = "0.11"
|
Inflector = "0.11"
|
||||||
nalgebra = "0.24"
|
nalgebra = "0.25"
|
||||||
kiss3d = "0.29"
|
kiss3d = "0.30"
|
||||||
|
|
||||||
[dependencies.rapier_testbed3d]
|
[dependencies.rapier_testbed3d]
|
||||||
path = "../build/rapier_testbed3d"
|
path = "../build/rapier_testbed3d"
|
||||||
|
|||||||
Reference in New Issue
Block a user