vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::QueryFilter Struct Reference

Which bodies a query is allowed to see. More...

#include <query.h>

Public Attributes

EntityId ignore = {}
 Never hit; the caster, usually.
bool hitTriggers = false
 Include colliders marked isTrigger.
bool hitStatic = true
 Include Static and Kinematic bodies, by their authored motion.
bool hitDynamic = true
 Include Dynamic bodies, a ragdoll's posed bones among them.
int layerMask = ~0
 Which layers may be hit, as a mask of the bits collision uses; everything by default.

Detailed Description

Which bodies a query is allowed to see.

ignore is for the common query a body casts from inside itself.


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