* Sets the body gravity for both the X and Y axes. This is an acceleration applied to * this body in addition to the world gravity, in pixels per second squared. Values can * be positive or negative. Larger absolute values result in a stronger effect.
(x: number, y?: number)
| 111279 | * @returns This Game Object. |
| 111280 | */ |
| 111281 | setGravity(x: number, y?: number): this; |
| 111282 | /** |
| 111283 | * Sets the body gravity applied to the X-axis. This is an acceleration in addition to |
| 111284 | * the world gravity, in pixels per second squared. Use a positive value to pull the body |
no outgoing calls
no test coverage detected