Return a pointer to the second body in contact
| 53 | |
| 54 | // Return a pointer to the second body in contact |
| 55 | Body* OverlapCallback::OverlapPair::getBody2() const { |
| 56 | return static_cast<Body*>(mWorld.mBodyComponents.getBody(mContactPair.body2Entity)); |
| 57 | } |
| 58 | |
| 59 | // Return the corresponding type of event for this overlapping pair |
| 60 | OverlapCallback::OverlapPair::EventType OverlapCallback::OverlapPair::getEventType() const { |