| 1565 | } |
| 1566 | |
| 1567 | void Sc::Scene::endSimulation() |
| 1568 | { |
| 1569 | // Handle user contact filtering |
| 1570 | // Note: Do this before the contact callbacks get fired since the filter callback might |
| 1571 | // trigger contact reports (touch lost due to re-filtering) |
| 1572 | |
| 1573 | PxsContactManagerOutputIterator outputs = mLLContext->getNphaseImplementationContext()->getContactManagerOutputs(); |
| 1574 | |
| 1575 | mNPhaseCore->fireCustomFilteringCallbacks(outputs, mPublicFlags & PxSceneFlag::eADAPTIVE_FORCE); |
| 1576 | |
| 1577 | mNPhaseCore->preparePersistentContactEventListForNextFrame(); |
| 1578 | |
| 1579 | mSimulationController->releaseDeferredArticulationIds(); |
| 1580 | |
| 1581 | endStep(); // - Update time stamps |
| 1582 | |
| 1583 | PxcDisplayContactCacheStats(); |
| 1584 | } |
| 1585 | |
| 1586 | void Sc::Scene::flush(bool sendPendingReports) |
| 1587 | { |
no test coverage detected