Improved collisions

This commit is contained in:
Thomas FORGIONE 2015-04-22 10:26:09 +02:00
parent d3bf9db542
commit 7b5b94947a
1 changed files with 0 additions and 2 deletions

View File

@ -139,8 +139,6 @@ PointerCamera.prototype.update = function() {
if (!this.isColliding(direction)) { if (!this.isColliding(direction)) {
this.position.add(direction); this.position.add(direction);
} else {
this.position.sub(direction);
} }
// Update angle // Update angle