forked from mirror/openmw-tes3mp
Fix collision mask in castSphere
This commit is contained in:
parent
b0894ea20d
commit
16e3699739
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue