I have a kinematic actor (Simulate Physics is false) that I want to have generate hit events (Simulation Generates Hit Events is true) against static meshes (Simulate Physics is false, Simulation Generates Hit Events also false). When I move the kinematic into the static mesh, FPhysXSimEventCallback::onContact does not get called to notify of the collision. If I have the static mesh simulate (Simulate Physics set to true, Simulation Generates Hit Events remains false), and let it fall on my kinematic actor, the hit notification occurs.
PScene->setFlag(PxSceneFlag::eENABLE_KINEMATIC_STATIC_PAIRS, true);
is being called for the scene, so I’m confused how to get this working.
Thanks!
Jared