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

Method advance

physx/source/simulationcontroller/src/ScScene.cpp:1508–1522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1506}
1507
1508void Sc::Scene::advance(PxReal timeStep, PxBaseTask* continuation)
1509{
1510 if(timeStep != 0.0f)
1511 {
1512 mDt = timeStep;
1513 mOneOverDt = 0.0f < mDt ? 1.0f/mDt : 0.0f;
1514
1515 mAdvanceStep.setContinuation(continuation);
1516
1517 stepSetupSolve(&mAdvanceStep);
1518
1519
1520 mAdvanceStep.removeReference();
1521 }
1522}
1523
1524void Sc::Scene::setBounceThresholdVelocity(const PxReal t)
1525{

Callers

nothing calls this directly

Calls 2

setContinuationMethod · 0.80
removeReferenceMethod · 0.45

Tested by

no test coverage detected