aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Berger <contact@thierryberger.com>2024-06-13 11:31:49 +0200
committerGitHub <noreply@github.com>2024-06-13 11:31:49 +0200
commit05c39258840d95ac2cdcda1d94ac0062541b58f4 (patch)
tree2120e4d3411234181d109c03e1c56fb43f3686cc
parentb3dc1c1960274139b7fd8e2860a0af0387b0de6e (diff)
downloadrapier-05c39258840d95ac2cdcda1d94ac0062541b58f4.tar.gz
rapier-05c39258840d95ac2cdcda1d94ac0062541b58f4.tar.bz2
rapier-05c39258840d95ac2cdcda1d94ac0062541b58f4.zip
fix: Fixed typo in castShape functions (#653)
-rw-r--r--CHANGELOG.md2
-rw-r--r--src/pipeline/query_pipeline/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 21f5f53..4d8c214 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -248,7 +248,7 @@ without affecting performance of the other parts of the simulation.
- The method `QueryFilter::exclude_dynamic` is now a static method (the `self` argument was removed).
- The `QueryPipeline::cast_shape` method has a new argument `stop_at_penertation`. 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.
+ trajectory is such that it’s on a path to exit that penetration state.
- The `InteractionGroups` is now a set of explicit bit flags instead of a raw `u32`.
- The world-space mass properties of rigid-bodies are now updated automatically whenever the user changes their
position.
diff --git a/src/pipeline/query_pipeline/mod.rs b/src/pipeline/query_pipeline/mod.rs
index 829499f..6e536d0 100644
--- a/src/pipeline/query_pipeline/mod.rs
+++ b/src/pipeline/query_pipeline/mod.rs
@@ -602,7 +602,7 @@ impl QueryPipeline {
/// 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.
+ /// that it’s on a path to exit that penetration state.
/// * `filter`: set of rules used to determine which collider is taken into account by this scene query.
pub fn cast_shape(
&self,