!2015 修复:判断铰链与门板碰撞取消误差

pull/2016/head
林三 2 years ago committed by ChenX
parent d56043da21
commit 50e4e5850d

@ -962,9 +962,9 @@ export function IsBoxAndEntitysIntersect(enBox: Box3, checkEnts: Entity[], paren
}
else
{
let box = checkEnt.BoundingBox as Box3Ext;
let box = checkEnt.BoundingBox;
if (parentOCS) box.applyMatrix4(parentOCS);
if (box.intersectsBox(enBox, 10))
if (box.intersectsBox(enBox))
return true;
}
}

Loading…
Cancel
Save