Returns a randomly chosen point anywhere on the path. This follows the same rules as getPoint
in that it may return a point on any Curve inside this path.
When calling this method multiple times, the points are not guaranteed to be equally spaced spatially.
name | type | arguments | description |
---|---|---|---|
out | Phaser.Math.Vector2 | <optional> |
|
The modified out
object, or a new Vector2
if none was provided.