Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
Jondolf committed Feb 17, 2024
1 parent fe14670 commit e6aeba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_xpbd_3d/examples/cast_ray_predicate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ fn raycast(
direction,
Scalar::MAX,
true,
SpatialQueryFilter::new(),
SpatialQueryFilter::default(),
&|entity| {
if let Ok((_, out_of_glass)) = cubes.get(entity) {
return !out_of_glass.0; // only look at cubes not out of glass
Expand Down

0 comments on commit e6aeba0

Please sign in to comment.