This is an optional callback interface for collision filtering between field samplers and other objects If this interface is not provided, then collision filtering happens normally through the default scene simulationfiltershader callback However, if this is provided, then the user can no only return true/false to indicate whether or not the two objects should interact but can also assign a weighted multiplier value to control how strongly the two objects should interact. More...
#include <ModuleFieldSampler.h>
Public Member Functions | |
virtual bool | fieldSamplerWeightedCollisionFilter (const physx::PxFilterData &objectA, const physx::PxFilterData &objectB, float &multiplierValue)=0 |
This is an optional callback interface for collision filtering between field samplers and other objects If this interface is not provided, then collision filtering happens normally through the default scene simulationfiltershader callback However, if this is provided, then the user can no only return true/false to indicate whether or not the two objects should interact but can also assign a weighted multiplier value to control how strongly the two objects should interact. |
This is an optional callback interface for collision filtering between field samplers and other objects If this interface is not provided, then collision filtering happens normally through the default scene simulationfiltershader callback However, if this is provided, then the user can no only return true/false to indicate whether or not the two objects should interact but can also assign a weighted multiplier value to control how strongly the two objects should interact.