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

Method removeArticulationLink

physx/source/physx/src/NpScene.cpp:1080–1091  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1078}
1079
1080void NpScene::removeArticulationLink(NpArticulationLink& link, bool wakeOnLostTouch)
1081{
1082 PxArticulationJointBase* j =link.getInboundJoint();
1083
1084 link.removeConstraintsFromScene();
1085 link.getShapeManager().teardownAllSceneQuery(getSceneQueryManagerFast(), link);
1086
1087 if (j)
1088 mScene.removeArticulationJoint(j->getImpl()->getScbArticulationJoint());
1089
1090 mScene.removeActor(link.getScbBodyFast(), wakeOnLostTouch, false);
1091}
1092
1093///////////////////////////////////////////////////////////////////////////////
1094

Callers

nothing calls this directly

Calls 7

getInboundJointMethod · 0.80
teardownAllSceneQueryMethod · 0.80
getShapeManagerMethod · 0.80
getImplMethod · 0.45
removeActorMethod · 0.45

Tested by

no test coverage detected