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

Method fetchResultsPreContactCallbacks

physx/source/physx/src/NpScene.cpp:2040–2056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2038// 6. Fire callbacks which need to reflect the synchronized object state
2039
2040void NpScene::fetchResultsPreContactCallbacks()
2041{
2042#if PX_SUPPORT_PVD
2043 mScene.getScenePvdClient().updateContacts();
2044#endif
2045
2046 mScene.prepareOutOfBoundsCallbacks();
2047 mScene.processPendingRemove();
2048 mScene.endSimulation();
2049
2050 {
2051 PX_PROFILE_ZONE("Sim.fireCallbacksPreSync", getContextId());
2052 fireOutOfBoundsCallbacks(); // fire out-of-bounds callbacks
2053 mScene.fireBrokenConstraintCallbacks();
2054 mScene.fireTriggerCallbacks();
2055 }
2056}
2057
2058void NpScene::fetchResultsPostContactCallbacks()
2059{

Callers

nothing calls this directly

Calls 8

updateContactsMethod · 0.80
getScenePvdClientMethod · 0.80
processPendingRemoveMethod · 0.80
endSimulationMethod · 0.80
fireTriggerCallbacksMethod · 0.80
getContextIdFunction · 0.50

Tested by

no test coverage detected