Skip to content

Commit

Permalink
docs: exclude kinematic/dynamic reversed in description.
Browse files Browse the repository at this point in the history
Fixes #496.
  • Loading branch information
waywardmonkeys committed Aug 28, 2023
1 parent 5c6def3 commit 727610c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pipeline/query_pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ bitflags::bitflags! {
pub struct QueryFilterFlags: u32 {
/// Exclude from the query any collider attached to a fixed rigid-body and colliders with no rigid-body attached.
const EXCLUDE_FIXED = 1 << 1;
/// Exclude from the query any collider attached to a dynamic rigid-body.
const EXCLUDE_KINEMATIC = 1 << 2;
/// Exclude from the query any collider attached to a kinematic rigid-body.
const EXCLUDE_KINEMATIC = 1 << 2;
/// Exclude from the query any collider attached to a dynamic rigid-body.
const EXCLUDE_DYNAMIC = 1 << 3;
/// Exclude from the query any collider that is a sensor.
const EXCLUDE_SENSORS = 1 << 4;
Expand Down Expand Up @@ -163,12 +163,12 @@ impl<'a> QueryFilter<'a> {
QueryFilterFlags::EXCLUDE_FIXED.into()
}

/// Exclude from the query any collider attached to a dynamic rigid-body.
/// Exclude from the query any collider attached to a kinematic rigid-body.
pub fn exclude_kinematic() -> Self {
QueryFilterFlags::EXCLUDE_KINEMATIC.into()
}

/// Exclude from the query any collider attached to a kinematic rigid-body.
/// Exclude from the query any collider attached to a dynamic rigid-body.
pub fn exclude_dynamic() -> Self {
QueryFilterFlags::EXCLUDE_DYNAMIC.into()
}
Expand Down

0 comments on commit 727610c

Please sign in to comment.