Retrieves the point at given position in the curve. This will always return this curve's only point.
name | type | arguments | description |
---|---|---|---|
u | number |
The position in the path to retrieve, between 0 and 1. Not used. |
|
out | Phaser.Math.Vector2 | <optional> |
An optional vector in which to store the point. |
The modified out
vector, or a new Vector2
if none was provided.