Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework layers #313

Merged
merged 11 commits into from
Feb 17, 2024
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
Loading