You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/physics/matter-js/components/Friction.js
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,9 @@ var Friction = {
42
42
},
43
43
44
44
/**
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.
* 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.
0 commit comments