Skip to content

Commit

Permalink
bugfix: PhysicsCharacter disregards ignore lists
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Nov 30, 2023
1 parent 28b836f commit 4d29e1f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ bool btKinematicCharacterController::needsCollision(const btCollisionObject* bod
{
bool collides = (body0->getBroadphaseHandle()->m_collisionFilterGroup & body1->getBroadphaseHandle()->m_collisionFilterMask) != 0;
collides = collides && (body1->getBroadphaseHandle()->m_collisionFilterGroup & body0->getBroadphaseHandle()->m_collisionFilterMask);
collides = collides && body0->checkCollideWithOverride(body1); // stephengold added 2023-11-30
return collides;
}

Expand Down

0 comments on commit 4d29e1f

Please sign in to comment.