mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-30 10:20:52 -05:00
improved position resolver
This commit is contained in:
parent
d2af721c49
commit
71998a0056
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ var Bounds = require('../geometry/Bounds');
|
|||
for (i = 0; i < pairs.length; i++) {
|
||||
pair = pairs[i];
|
||||
|
||||
if (!pair.isActive || pair.isSensor || pair.separation < 0)
|
||||
if (!pair.isActive || pair.isSensor)
|
||||
continue;
|
||||
|
||||
collision = pair.collision;
|
||||
|
|
Loading…
Reference in a new issue