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

Method removeArticulation

physx/source/physx/src/NpScene.cpp:986–996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

984}
985
986void NpScene::removeArticulation(PxArticulationBase& articulation, bool wakeOnLostTouch)
987{
988 PX_PROFILE_ZONE("API.removeArticulation", getContextId());
989 NP_WRITE_CHECK(this);
990
991 if (removeFromSceneCheck(this, articulation.getScene(), "PxScene::removeArticulation(): Articulation"))
992 {
993 NpArticulation& npa = static_cast<NpArticulation&>(articulation);
994 removeArticulationInternal(npa, wakeOnLostTouch, true);
995 }
996}
997
998void NpScene::removeArticulationInternal(PxArticulationBase& npa, bool wakeOnLostTouch, bool removeFromAggregate)
999{

Callers 3

fileToObjectMethod · 0.45
releaseMethod · 0.45

Calls 3

removeFromSceneCheckFunction · 0.85
getContextIdFunction · 0.50
getSceneMethod · 0.45

Tested by

no test coverage detected