forked from mirror/openmw-tes3mp
Another collision mask fix
This commit is contained in:
parent
e5d9ee30f4
commit
5ac226f519
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue