Skip to content

Commit 4d29e1f

Browse files
committed
bugfix: PhysicsCharacter disregards ignore lists
1 parent 28b836f commit 4d29e1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/native/bullet3/BulletDynamics/Character/btKinematicCharacterController.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ bool btKinematicCharacterController::needsCollision(const btCollisionObject* bod
341341
{
342342
bool collides = (body0->getBroadphaseHandle()->m_collisionFilterGroup & body1->getBroadphaseHandle()->m_collisionFilterMask) != 0;
343343
collides = collides && (body1->getBroadphaseHandle()->m_collisionFilterGroup & body0->getBroadphaseHandle()->m_collisionFilterMask);
344+
collides = collides && body0->checkCollideWithOverride(body1); // stephengold added 2023-11-30
344345
return collides;
345346
}
346347

0 commit comments

Comments
 (0)