Rapier C — 2D / f64 0.36.0+c.0
Loading...
Searching...
No Matches
R2QueryFilter Struct Reference

Scene-query flags, groups, and excluded handles. More...

#include <rapier.h>

Data Fields

uint32_t flags
 R2_QUERY_EXCLUDE_* bitmask selecting body types and sensors/solids.
R2Bool use_groups
 Whether to apply the groups filter.
struct R2InteractionGroups groups
 Groups to test when use_groups is 1.
struct R2ColliderHandle exclude_collider
 Collider to exclude; use the explicit invalid handle to exclude none.
struct R2RigidBodyHandle exclude_rigid_body
 Body whose colliders are excluded; use the explicit invalid handle for none.

Detailed Description

Scene-query flags, groups, and excluded handles.

Initialize with r2DefaultQueryFilter.

Field Documentation

◆ exclude_collider

struct R2ColliderHandle R2QueryFilter::exclude_collider

Collider to exclude; use the explicit invalid handle to exclude none.

◆ exclude_rigid_body

struct R2RigidBodyHandle R2QueryFilter::exclude_rigid_body

Body whose colliders are excluded; use the explicit invalid handle for none.

◆ flags

uint32_t R2QueryFilter::flags

R2_QUERY_EXCLUDE_* bitmask selecting body types and sensors/solids.

◆ groups

struct R2InteractionGroups R2QueryFilter::groups

Groups to test when use_groups is 1.

◆ use_groups

R2Bool R2QueryFilter::use_groups

Whether to apply the groups filter.


The documentation for this struct was generated from the following file: