| 2038 | // 6. Fire callbacks which need to reflect the synchronized object state |
| 2039 | |
| 2040 | void 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 | |
| 2058 | void NpScene::fetchResultsPostContactCallbacks() |
| 2059 | { |
nothing calls this directly
no test coverage detected