We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5e8a60 commit 8ab43f3Copy full SHA for 8ab43f3
1 file changed
v3/src/physics/matter-js/components/Friction.js
@@ -1,6 +1,6 @@
1
var Friction = {
2
3
- setFriction: function (value, air, static)
+ setFriction: function (value, air, _static)
4
{
5
this.body.friction = value;
6
@@ -9,9 +9,9 @@ var Friction = {
9
this.body.frictionAir = air;
10
}
11
12
- if (static !== undefined)
+ if (_static !== undefined)
13
14
- this.body.frictionStatic = static;
+ this.body.frictionStatic = _static;
15
16
17
return this;
0 commit comments