Return a pointer to the second collider in contact
| 43 | |
| 44 | // Return a pointer to the second collider in contact |
| 45 | Collider* OverlapCallback::OverlapPair::getCollider2() const { |
| 46 | return static_cast<Collider*>(mWorld.mCollidersComponents.getCollider(mContactPair.collider2Entity)); |
| 47 | } |
| 48 | |
| 49 | // Return a pointer to the first body in contact |
| 50 | Body* OverlapCallback::OverlapPair::getBody1() const { |