Another collision mask fix

openmw-38
scrawl 9 years ago
parent e5d9ee30f4
commit 5ac226f519

@ -796,7 +796,7 @@ namespace MWPhysics
DeepestNotMeContactTestResultCallback resultCallback(me, toBullet(origin)); DeepestNotMeContactTestResultCallback resultCallback(me, toBullet(origin));
resultCallback.m_collisionFilterGroup = CollisionType_Actor; resultCallback.m_collisionFilterGroup = CollisionType_Actor;
resultCallback.m_collisionFilterMask = CollisionType_World | CollisionType_HeightMap | CollisionType_Actor; resultCallback.m_collisionFilterMask = CollisionType_World | CollisionType_Door | CollisionType_HeightMap | CollisionType_Actor;
mCollisionWorld->contactTest(&object, resultCallback); mCollisionWorld->contactTest(&object, resultCallback);
if (resultCallback.mObject) if (resultCallback.mObject)

Loading…
Cancel
Save