Skip to content

Commit

Permalink
fix: Fixed typo in castShape functions
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Jun 13, 2024
1 parent b3dc1c1 commit 4349abc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/pipeline/query_pipeline/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4349abc

Please sign in to comment.