mirror of
https://github.com/wassname/phaser.git
synced 2026-08-12 12:20:38 +08:00
Removed all references to drag from the Examples and replaced with Friction.
This commit is contained in:
@@ -42,7 +42,6 @@ function create() {
|
||||
ball.anchor.setTo(0.5, 0.5);
|
||||
ball.body.collideWorldBounds = true;
|
||||
ball.body.bounce.setTo(0.9, 0.9);
|
||||
ball.body.drag.setTo(10, 0);
|
||||
|
||||
// Enable input.
|
||||
ball.inputEnabled = true;
|
||||
|
||||
Reference in New Issue
Block a user