MCPcopy Create free account
hub / github.com/axmolengine/axmol / removeFromPhysicsWorld

Method removeFromPhysicsWorld

core/physics/PhysicsBody.cpp:1015–1023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1013}
1014
1015void PhysicsBody::removeFromPhysicsWorld()
1016{
1017 if (_owner)
1018 {
1019 auto scene = _owner->getScene();
1020 if (scene)
1021 scene->getPhysicsWorld()->removeBody(this);
1022 }
1023}
1024
1025}
1026

Callers

nothing calls this directly

Calls 2

getSceneMethod · 0.80
removeBodyMethod · 0.80

Tested by

no test coverage detected