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

Method prepareCollide

physx/source/simulationcontroller/src/ScScene.cpp:1466–1487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1464}
1465
1466void 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
1489void Sc::Scene::simulate(PxReal timeStep, PxBaseTask* continuation)
1490{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected