Skip to content

Commit

Permalink
Merge branch 'RigidBody_without_Collider_fix' of https://github.com/r…
Browse files Browse the repository at this point in the history
…obertocapuano/reactphysics3d into robertocapuano-RigidBody_without_Collider_fix
  • Loading branch information
DanielChappuis committed Jun 20, 2024
2 parents e49a65c + 41cbf68 commit 258ce7a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/engine/PhysicsWorld.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -728,9 +728,6 @@ void PhysicsWorld::createIslands() {
// If the body is static, we go to the next body
if (mRigidBodyComponents.mBodyTypes[b] == BodyType::STATIC) continue;

// If the body does not have any simulation collider, we skip it
if (!mBodyComponents.getHasSimulationCollider(mRigidBodyComponents.mRigidBodies[b]->getEntity())) continue;

// Reset the stack of bodies to visit
bodyEntitiesToVisit.clear();

Expand Down

0 comments on commit 258ce7a

Please sign in to comment.