File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1687,14 +1687,14 @@ var Body = new Class({
16871687 /**
16881688 * Sets whether this Body collides with the world boundary.
16891689 *
1690- * Optionally also sets the World Bounce values. If the `Body.worldBounce` is null, it's set to a new Phaser.Math.Vector2 first .
1690+ * Optionally also sets the World Bounce and `onWorldBounds` values .
16911691 *
16921692 * @method Phaser.Physics.Arcade.Body#setCollideWorldBounds
16931693 * @since 3.0.0
16941694 *
1695- * @param {boolean } [value=true] - `true` if this body should collide with the world bounds, otherwise `false`.
1696- * @param {number } [bounceX] - If given this will be replace the `worldBounce.x` value.
1697- * @param {number } [bounceY] - If given this will be replace the `worldBounce.y` value.
1695+ * @param {boolean } [value=true] - `true` if the Body should collide with the world bounds, otherwise `false`.
1696+ * @param {number } [bounceX] - If given this replaces the Body's `worldBounce.x` value.
1697+ * @param {number } [bounceY] - If given this replaces the Body's `worldBounce.y` value.
16981698 * @param {boolean } [onWorldBounds] - If given this replaces the Body's `onWorldBounds` value.
16991699 *
17001700 * @return {Phaser.Physics.Arcade.Body } This Body object.
You can’t perform that action at this time.
0 commit comments