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

Method collideStep

physx/source/simulationcontroller/src/ScScene.cpp:1955–1974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1953//}
1954
1955void Sc::Scene::collideStep(PxBaseTask* continuation)
1956{
1957 PX_PROFILE_ZONE("Sim.collideQueueTasks", getContextId());
1958 PX_PROFILE_START_CROSSTHREAD("Basic.collision", getContextId());
1959
1960 mStats->simStart();
1961 mLLContext->beginUpdate();
1962
1963 mPostNarrowPhase.setTaskManager(*continuation->getTaskManager());
1964 mPostNarrowPhase.addReference();
1965
1966 mFinalizationPhase.setTaskManager(*continuation->getTaskManager());
1967 mFinalizationPhase.addReference();
1968
1969 mRigidBodyNarrowPhase.setContinuation(continuation);
1970 mPreRigidBodyNarrowPhase.setContinuation(&mRigidBodyNarrowPhase);
1971
1972 mRigidBodyNarrowPhase.removeReference();
1973 mPreRigidBodyNarrowPhase.removeReference();
1974}
1975
1976void Sc::Scene::broadPhase(PxBaseTask* continuation)
1977{

Callers

nothing calls this directly

Calls 8

simStartMethod · 0.80
beginUpdateMethod · 0.80
setTaskManagerMethod · 0.80
setContinuationMethod · 0.80
getContextIdFunction · 0.50
getTaskManagerMethod · 0.45
addReferenceMethod · 0.45
removeReferenceMethod · 0.45

Tested by

no test coverage detected