Skip to content

Commit 258ce7a

Browse files
Merge branch 'RigidBody_without_Collider_fix' of https://github.com/robertocapuano/reactphysics3d into robertocapuano-RigidBody_without_Collider_fix
2 parents e49a65c + 41cbf68 commit 258ce7a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/engine/PhysicsWorld.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -728,9 +728,6 @@ void PhysicsWorld::createIslands() {
728728
// If the body is static, we go to the next body
729729
if (mRigidBodyComponents.mBodyTypes[b] == BodyType::STATIC) continue;
730730

731-
// If the body does not have any simulation collider, we skip it
732-
if (!mBodyComponents.getHasSimulationCollider(mRigidBodyComponents.mRigidBodies[b]->getEntity())) continue;
733-
734731
// Reset the stack of bodies to visit
735732
bodyEntitiesToVisit.clear();
736733

0 commit comments

Comments
 (0)