Skip to content

Commit

Permalink
improved position resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed May 9, 2017
1 parent d2af721 commit 71998a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collision/Resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 71998a0

Please sign in to comment.