Skip to content

Commit 05c3925

Browse files
fix: Fixed typo in castShape functions (#653)
1 parent b3dc1c1 commit 05c3925

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ without affecting performance of the other parts of the simulation.
248248
- The method `QueryFilter::exclude_dynamic` is now a static method (the `self` argument was removed).
249249
- The `QueryPipeline::cast_shape` method has a new argument `stop_at_penertation`. If set to `false`, the linear
250250
shape-cast won’t immediately stop if the shape is penetrating another shape at its starting point **and** its
251-
trajectory is such that it’s on a path to exist that penetration state.
251+
trajectory is such that it’s on a path to exit that penetration state.
252252
- The `InteractionGroups` is now a set of explicit bit flags instead of a raw `u32`.
253253
- The world-space mass properties of rigid-bodies are now updated automatically whenever the user changes their
254254
position.

src/pipeline/query_pipeline/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ impl QueryPipeline {
602602
/// limits the distance traveled by the shape to `shapeVel.norm() * maxToi`.
603603
/// * `stop_at_penetration` - If set to `false`, the linear shape-cast won’t immediately stop if
604604
/// the shape is penetrating another shape at its starting point **and** its trajectory is such
605-
/// that it’s on a path to exist that penetration state.
605+
/// that it’s on a path to exit that penetration state.
606606
/// * `filter`: set of rules used to determine which collider is taken into account by this scene query.
607607
pub fn cast_shape(
608608
&self,

0 commit comments

Comments
 (0)