Hi,
I have a code in 3.3.0 that is running. I have a Static Actor (Triangle Mesh) and a Sphere (Kinematic Actor), and I can know if there is a collision between them.
My code in collision is:
sceneDesc.filterShader = filter; //Creates default collision filter shader for the scene
sceneDesc.flags = PxSceneFlag::eENABLE_KINEMATIC_STATIC_PAIRS;
sceneDesc.flags = PxSceneFlag::eENABLE_KINEMATIC_PAIRS;
Filter function is:
pairFlags |= PxPairFlag::eNOTIFY_TOUCH_FOUND; // For all
And oncontact() is:
std::cout<<“Collision” << std::endl;
Very simple.
This code is running without problems in 3.3.0.
However, there is not collision in 3.3.2
Is something different? I don’t find where is the problem
Thank you