Update the broad-phase state of all the enabled colliders
| 127 | |
| 128 | // Update the broad-phase state of all the enabled colliders |
| 129 | void BroadPhaseSystem::updateColliders() { |
| 130 | |
| 131 | RP3D_PROFILE("BroadPhaseSystem::updateColliders()", mProfiler); |
| 132 | |
| 133 | // Update all the enabled collider components |
| 134 | if (mCollidersComponents.getNbEnabledComponents() > 0) { |
| 135 | updateCollidersComponents(0, mCollidersComponents.getNbEnabledComponents()); |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | // Notify the broad-phase that a collision shape has moved and need to be updated |
| 140 | void BroadPhaseSystem::updateColliderInternal(int32 broadPhaseId, Collider* collider, const AABB& aabb, |
no test coverage detected