aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-10-02 18:30:26 +0200
committerSébastien Crozet <developer@crozet.re>2022-10-02 18:30:26 +0200
commitf7bec3c49cf6ca24d2878a9dcd20656d26de5cc7 (patch)
tree09bc63fe9ef31990f43feb3fcac36864f1665595 /src
parent9a4afcc43e68dec024cf577cf0afcc76ffbaf2c5 (diff)
downloadrapier-f7bec3c49cf6ca24d2878a9dcd20656d26de5cc7.tar.gz
rapier-f7bec3c49cf6ca24d2878a9dcd20656d26de5cc7.tar.bz2
rapier-f7bec3c49cf6ca24d2878a9dcd20656d26de5cc7.zip
Update CHANGELOG
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs1
-rw-r--r--src/pipeline/query_pipeline.rs3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index baffedc..0c640c7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -203,7 +203,6 @@ pub mod math {
/// Prelude containing the common types defined by Rapier.
pub mod prelude {
- // pub use crate::controller::*;
pub use crate::dynamics::*;
pub use crate::geometry::*;
pub use crate::math::*;
diff --git a/src/pipeline/query_pipeline.rs b/src/pipeline/query_pipeline.rs
index 6cf646d..e2ea05f 100644
--- a/src/pipeline/query_pipeline.rs
+++ b/src/pipeline/query_pipeline.rs
@@ -696,6 +696,9 @@ impl QueryPipeline {
/// * `shape` - The shape to cast.
/// * `max_toi` - The maximum time-of-impact that can be reported by this cast. This effectively
/// limits the distance traveled by the shape to `shapeVel.norm() * maxToi`.
+ /// * `stop_at_penetration` - If set to `false`, the linear shape-cast won’t immediately stop if
+ /// the shape is penetrating another shape at its starting point **and** its trajectory is such
+ /// that it’s on a path to exist that penetration state.
/// * `filter`: set of rules used to determine which collider is taken into account by this scene query.
pub fn cast_shape<'a>(
&self,