diff options
| author | Sheikh Dawood Abdul Ajees <[email protected]> | 2018-09-25 11:33:48 -0500 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <[email protected]> | 2018-09-25 11:33:48 -0500 |
| commit | ad993f2926db6fe4ba2c75e17c4f099d9d853038 (patch) | |
| tree | 426f831e7aa870a4704b8dd082538ff292e751f9 /PhysX_3.4/Source/SimulationController/src | |
| parent | PhysX 3.4, APEX 1.4 patch release @24698370 (diff) | |
| download | physx-3.4-ad993f2926db6fe4ba2c75e17c4f099d9d853038.tar.xz physx-3.4-ad993f2926db6fe4ba2c75e17c4f099d9d853038.zip | |
PhysX 3.4, APEX 1.4 patch release @24990349
Diffstat (limited to 'PhysX_3.4/Source/SimulationController/src')
| -rw-r--r-- | PhysX_3.4/Source/SimulationController/src/ScScene.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/PhysX_3.4/Source/SimulationController/src/ScScene.cpp b/PhysX_3.4/Source/SimulationController/src/ScScene.cpp index 702be637..3944d603 100644 --- a/PhysX_3.4/Source/SimulationController/src/ScScene.cpp +++ b/PhysX_3.4/Source/SimulationController/src/ScScene.cpp @@ -3094,7 +3094,8 @@ void Sc::Scene::updateSimulationController(PxBaseTask* continuation) void Sc::Scene::updateDynamics(PxBaseTask* continuation) { - mProcessLostContactsTask3.setContinuation(continuation); + //Allow processLostContactsTask to run until after 2nd pass of solver completes (update bodies, run sleeping logic etc.) + mProcessLostContactsTask3.setContinuation(static_cast<PxLightCpuTask*>(continuation)->getContinuation()); mProcessLostContactsTask2.setContinuation(&mProcessLostContactsTask3); mProcessLostContactsTask.setContinuation(&mProcessLostContactsTask2); |