Return a pointer to the first body in contact
| 48 | |
| 49 | // Return a pointer to the first body in contact |
| 50 | Body* OverlapCallback::OverlapPair::getBody1() const { |
| 51 | return static_cast<Body*>(mWorld.mBodyComponents.getBody(mContactPair.body1Entity)); |
| 52 | } |
| 53 | |
| 54 | // Return a pointer to the second body in contact |
| 55 | Body* OverlapCallback::OverlapPair::getBody2() const { |