Ask only for the pair flags a trigger can use
The filter shader gave every pair eSOLVE_CONTACT, eDETECT_CCD_CONTACT
and eNOTIFY_CONTACT_POINTS, on the grounds that PhysX ignores the CCD
flag when CCD is disabled. The scene enables CCD unconditionally,
though, so that does not apply, and PhysX warns for every trigger pair
that asks for a continuous sweep:
Filtering: CCD isn't supported on Triggers yet
Once per trigger pair per filtering call, which is enough to bury the
output of any test or example that uses a trigger.
A trigger shape does not collide, it only reports what overlaps it, so
there is nothing to solve and nothing for a sweep to do. Give those
pairs PxPairFlag::eTRIGGER_DEFAULT, which is the touch-found and
touch-lost notifications plus discrete contact detection, and leave the
rest for pairs that are actually simulated.
Pick-to: 6.12 6.11 6.8
Change-Id: I1856d733f2885b19514406ccfc42f7df51b6804e
Reviewed-by: Kristoffer Skau <kristoffer.skau@qt.io>