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/arcade/components/Friction.js
+21-11Lines changed: 21 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -5,24 +5,30 @@
5
5
*/
6
6
7
7
/**
8
-
* Sets the friction (e.g. the amount of velocity reduced over time) of the physics body when moving horizontally in the X axis. The higher than friction, the faster the body will slow down once force stops being applied to it.
8
+
* Methods for setting the friction of an Arcade Physics Body.
9
+
*
10
+
* In Arcade Physics, friction is a special case of motion transfer from an "immovable" body to a riding body.
0 commit comments