MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / pauseSimulation

Method pauseSimulation

testbed/src/TestbedApplication.h:263–265  ·  view source on GitHub ↗

Pause the simulation

Source from the content-addressed store, hash-verified

261
262// Pause the simulation
263inline void TestbedApplication::pauseSimulation() {
264 if (mTimer.isRunning()) mTimer.stop();
265}
266
267// Restart the simulation
268inline void TestbedApplication::restartSimulation() {

Callers 1

createSimulationPanelMethod · 0.80

Calls 2

isRunningMethod · 0.80
stopMethod · 0.80

Tested by

no test coverage detected