| 1013 | } |
| 1014 | |
| 1015 | void 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 |
nothing calls this directly
no test coverage detected