!2341 优化:铰链偏移后与板件间距最低为10

pull/2275/MERGE
林三 1 year ago committed by ChenX
parent 978697b99f
commit 178a59684d

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

Loading…
Cancel
Save