BulletSim: add definitions for linkset collision mask

integration
Robert Adams 2012-10-29 14:28:24 -07:00
parent bc43c7007d
commit 4cfa3be4ef
1 changed files with 3 additions and 0 deletions

View File

@ -378,6 +378,7 @@ public enum CollisionFilterGroups : uint
BTerrainFilter = 1 << 11, BTerrainFilter = 1 << 11,
BRaycastFilter = 1 << 12, BRaycastFilter = 1 << 12,
BSolidFilter = 1 << 13, BSolidFilter = 1 << 13,
BLinksetFilter = 1 << 14,
// The collsion filters and masked are defined in one place -- don't want them scattered // The collsion filters and masked are defined in one place -- don't want them scattered
AvatarFilter = BCharacterFilter, AvatarFilter = BCharacterFilter,
@ -386,6 +387,8 @@ public enum CollisionFilterGroups : uint
ObjectMask = BAllFilter, ObjectMask = BAllFilter,
StaticObjectFilter = BStaticFilter, StaticObjectFilter = BStaticFilter,
StaticObjectMask = BAllFilter, StaticObjectMask = BAllFilter,
LinksetFilter = BLinksetFilter,
LinksetMask = BAllFilter & ~BLinksetFilter,
VolumeDetectFilter = BSensorTrigger, VolumeDetectFilter = BSensorTrigger,
VolumeDetectMask = ~BSensorTrigger, VolumeDetectMask = ~BSensorTrigger,
TerrainFilter = BTerrainFilter, TerrainFilter = BTerrainFilter,