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 -1
View File
@@ -133,7 +133,7 @@ function create () {
// tank.play('move');
// This will force it to decelerate and limit its speed
tank.body.drag.setTo(200, 200);
tank.body.friction = 0.2;
tank.body.maxVelocity.setTo(400, 400);
tank.body.collideWorldBounds = true;