| 1110 | } |
| 1111 | |
| 1112 | void NpScene::removeArticulationLink(NpArticulationLink& link, bool wakeOnLostTouch) |
| 1113 | { |
| 1114 | PxArticulationJointBase* j =link.getInboundJoint(); |
| 1115 | |
| 1116 | link.removeConstraintsFromScene(); |
| 1117 | link.getShapeManager().teardownAllSceneQuery(getSceneQueryManagerFast(), link); |
| 1118 | |
| 1119 | if (j) |
| 1120 | mScene.removeArticulationJoint(j->getImpl()->getScbArticulationJoint()); |
| 1121 | |
| 1122 | mScene.removeActor(link.getScbBodyFast(), wakeOnLostTouch, false); |
| 1123 | } |
| 1124 | |
| 1125 | /////////////////////////////////////////////////////////////////////////////// |
| 1126 |
nothing calls this directly
no test coverage detected