Return the current world-space AABB of given collider * @param collider Pointer to a collider * @return The AAABB of the collider in world-space */
| 224 | * @return The AAABB of the collider in world-space |
| 225 | */ |
| 226 | AABB PhysicsWorld::getWorldAABB(const Collider* collider) const { |
| 227 | |
| 228 | if (collider->getBroadPhaseId() == -1) { |
| 229 | return AABB(); |
| 230 | } |
| 231 | |
| 232 | return mCollisionDetection.getWorldAABB(collider); |
| 233 | } |
| 234 | |
| 235 | // Update the physics simulation |
| 236 | /** |
nothing calls this directly
no test coverage detected