| 1078 | } |
| 1079 | |
| 1080 | void 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 |
nothing calls this directly
no test coverage detected