Navigation
API > API/Runtime > API/Runtime/Engine
Set of flags stored in the PhysX FilterData
When this flag is saved in CreateShapeFilterData or CreateQueryFilterData, we only use 23 bits If you plan to use more than 23 bits, you'll also need to change the format of ShapeFilterData,QueryFilterData Make sure you also change preFilter/SimFilterShader where it's used
| Name | EPhysXFilterDataFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/PhysicsFiltering.h |
| Include Path | #include "Physics/PhysicsFiltering.h" |
Syntax
enum EPhysXFilterDataFlags
{
EPDF_SimpleCollision = 0x0001,
EPDF_ComplexCollision = 0x0002,
EPDF_CCD = 0x0004,
EPDF_ContactNotify = 0x0008,
EPDF_StaticShape = 0x0010,
EPDF_ModifyContacts = 0x0020,
EPDF_KinematicKinematicPairs = 0x0040,
}
Values
| Name | Remarks |
|---|---|
| EPDF_SimpleCollision | |
| EPDF_ComplexCollision | |
| EPDF_CCD | |
| EPDF_ContactNotify | |
| EPDF_StaticShape | |
| EPDF_ModifyContacts | |
| EPDF_KinematicKinematicPairs |