Sets the vertical friction of this game object's physics body. This can move a riding body vertically when it collides with this one on the horizontal axis.
name | type | description |
---|---|---|
y | number |
The amount of friction to apply, [0, 1]. |
This Game Object.