Fix collision mask in castSphere

openmw-38
scrawl 9 years ago
parent b0894ea20d
commit 16e3699739

@ -892,7 +892,7 @@ namespace MWPhysics
{
btCollisionWorld::ClosestConvexResultCallback callback(toBullet(from), toBullet(to));
callback.m_collisionFilterGroup = 0xff;
callback.m_collisionFilterMask = CollisionType_World|CollisionType_HeightMap;
callback.m_collisionFilterMask = CollisionType_World|CollisionType_HeightMap|CollisionType_Door;
btSphereShape shape(radius);
const btQuaternion btrot = btQuaternion::getIdentity();

Loading…
Cancel
Save