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

Method collide

physx/source/physx/src/NpScene.cpp:1929–1938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1927}
1928
1929void NpScene::collide(PxReal elapsedTime, physx::PxBaseTask* completionTask, void* scratchBlock, PxU32 scratchBlockSize, bool controlSimulation)
1930{
1931 simulateOrCollide( elapsedTime,
1932 completionTask,
1933 scratchBlock,
1934 scratchBlockSize,
1935 controlSimulation,
1936 "PxScene::collide: collide() called illegally! If it isn't the first frame, collide() needed to be called between fetchResults() and fetchCollision(). Otherwise, collide() needed to be called before fetchCollision()",
1937 Sc::SimulationStage::eCOLLIDE);
1938}
1939
1940bool NpScene::checkResultsInternal(bool block)
1941{

Callers 3

stepPhysicsFunction · 0.45
executeCollideMethod · 0.45
collideFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected