MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / endSimulation

Method endSimulation

physx/source/simulationcontroller/src/ScScene.cpp:1567–1584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1565}
1566
1567void 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
1586void Sc::Scene::flush(bool sendPendingReports)
1587{

Callers 2

endSimulationFunction · 0.80

Tested by

no test coverage detected