MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / updateColliders

Method updateColliders

src/systems/BroadPhaseSystem.cpp:129–137  ·  view source on GitHub ↗

Update the broad-phase state of all the enabled colliders

Source from the content-addressed store, hash-verified

127
128// Update the broad-phase state of all the enabled colliders
129void 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
140void BroadPhaseSystem::updateColliderInternal(int32 broadPhaseId, Collider* collider, const AABB& aabb,

Callers 1

updateMethod · 0.45

Calls 1

Tested by

no test coverage detected