From 1c157b86f6405a90d9a392bef372972ed0d449ba Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 24 Jun 2014 18:14:27 +0200 Subject: [PATCH] Fix dead bodies blocking hits (again) --- libs/openengine/bullet/physic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/openengine/bullet/physic.cpp b/libs/openengine/bullet/physic.cpp index d00441fdf6..31530ebada 100644 --- a/libs/openengine/bullet/physic.cpp +++ b/libs/openengine/bullet/physic.cpp @@ -677,7 +677,7 @@ namespace Physic btCollisionObject *object) { DeepestNotMeContactTestResultCallback callback(filter, origin); - callback.m_collisionFilterGroup = 0xff; + callback.m_collisionFilterGroup = CollisionType_Actor; callback.m_collisionFilterMask = CollisionType_World | CollisionType_HeightMap | CollisionType_Actor; mDynamicsWorld->contactTest(object, callback); return std::make_pair(callback.mObject, callback.mContactPoint);