Sets the Body's maximum velocity.
name | type | arguments | Default | description |
---|---|---|---|---|
x | number |
The horizontal velocity, in pixels per second. |
||
y | number | <optional> | x |
The vertical velocity, in pixels per second. |
This Body object.