| 1464 | } |
| 1465 | |
| 1466 | void Sc::Scene::prepareCollide() |
| 1467 | { |
| 1468 | mReportShapePairTimeStamp++; // deleted actors/shapes should get separate pair entries in contact reports |
| 1469 | mContactReportsNeedPostSolverVelocity = false; |
| 1470 | |
| 1471 | mRemovedShapeCountAtSimStart = mShapeIDTracker->getDeletedIDCount(); |
| 1472 | |
| 1473 | getRenderBuffer().clear(); |
| 1474 | |
| 1475 | ///clear broken constraint list: |
| 1476 | clearBrokenConstraintBuffer(); |
| 1477 | |
| 1478 | updateFromVisualizationParameters(); |
| 1479 | |
| 1480 | visualizeStartStep(); |
| 1481 | |
| 1482 | #ifdef DUMP_PROFILER |
| 1483 | dumpProfiler(this); |
| 1484 | #endif |
| 1485 | |
| 1486 | PxcClearContactCacheStats(); |
| 1487 | } |
| 1488 | |
| 1489 | void Sc::Scene::simulate(PxReal timeStep, PxBaseTask* continuation) |
| 1490 | { |
nothing calls this directly
no test coverage detected