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

Method reset

testbed/scenes/ragdoll/RagdollScene.cpp:157–164  ·  view source on GitHub ↗

Reset the scene

Source from the content-addressed store, hash-verified

155}
156// Reset the scene
157void RagdollScene::reset() {
158
159 SceneDemo::reset();
160
161 destroyPhysicsWorld();
162 createPhysicsWorld();
163 initBodiesPositions();
164}
165
166// Create the boxes and joints for the ragdoll
167void RagdollScene::createRagdolls() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected