Skip to content

Commit 4de6f17

Browse files
committed
Formatted docs
1 parent cfa6eeb commit 4de6f17

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/physics/matter-js/components/Friction.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ var Friction = {
4242
},
4343

4444
/**
45-
* Sets a new air resistance for this Game Object's Matter Body. A value of 0 means the Body will never slow as it moves through space. The higher the value, the faster a Body slows when moving through space.
45+
* Sets a new air resistance for this Game Object's Matter Body.
46+
* A value of 0 means the Body will never slow as it moves through space.
47+
* The higher the value, the faster a Body slows when moving through space.
4648
*
4749
* @method Phaser.Physics.Matter.Components.Friction#setFrictionAir
4850
* @since 3.0.0
@@ -59,7 +61,9 @@ var Friction = {
5961
},
6062

6163
/**
62-
* Sets a new static friction for this Game Object's Matter Body. A value of 0 means the Body will never "stick" when it is nearly stationary. The higher the value (e.g. 10), the more force it will take to initially get the Body moving when it is nearly stationary.
64+
* Sets a new static friction for this Game Object's Matter Body.
65+
* A value of 0 means the Body will never "stick" when it is nearly stationary.
66+
* The higher the value (e.g. 10), the more force it will take to initially get the Body moving when it is nearly stationary.
6367
*
6468
* @method Phaser.Physics.Matter.Components.Friction#setFrictionStatic
6569
* @since 3.0.0

0 commit comments

Comments
 (0)