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