Removed all references to drag from the Examples and replaced with Friction.

This commit is contained in:
photonstorm
2014-01-22 21:06:16 +00:00
parent 20108e47f3
commit 31b68ac94f
8 changed files with 8 additions and 13 deletions
+1 -4
View File
@@ -29,10 +29,7 @@ function create() {
car.body.collideWorldBounds = true;
car.body.bounce.setTo(0.8, 0.8);
car.body.allowRotation = true;
car.body.friction = 10;
// car.body.drag.x = 10;
// car.body.drag.y = 10;
car.body.friction = 0.4;
// car.body.acceleration.x = 10;
game.input.onDown.add(start, this);
-1
View File
@@ -46,7 +46,6 @@ function launch() {
}
function hit(face, body1, body2) {
console.log('hit', face);