Nudge Physics
A single file, header-only 3D physics library
|
The BodyFilter struct. More...
#include <nudge.h>
Public Attributes | |
FlagMask | flags |
CollisionMask | collision_group |
CollisionMask | collision_mask |
The BodyFilter struct.
FlagMask nudge::BodyFilter::flags |
a bit masks of BF_ enums; most values are read-only, so don't (re)set it, but just add/remove tweakable flags to it
CollisionMask nudge::BodyFilter::collision_group |
a SINGLE COLLISION_GROUP_ value. Default value: COLLISION_GROUP_DEFAULT (means that the body belongs to this group. Better not use more than one group per body)
CollisionMask nudge::BodyFilter::collision_mask |
a bit mask of COLLISION_GROUP_ values. Default value: COLLISION_GROUP_ALL (means that the body can collide with all the groups)