| 99 | |
| 100 | |
| 101 | struct OverlapHit { |
| 102 | OverlapHit() {} |
| 103 | OverlapHit(const physx::PxOverlapBuffer& hit) { |
| 104 | overlapObject = ((PhysicsBodyComponent*)hit.block.actor->userData)->getOwner(); |
| 105 | } |
| 106 | Ref<Entity> overlapObject; |
| 107 | }; |
| 108 | |
| 109 | /** |
| 110 | Perform a box overlap |