Get point at relative position in curve according to length.
name | type | arguments | description |
---|---|---|---|
t | number |
The position along the curve to return. Where 0 is the start and 1 is the end. |
|
out | Phaser.Math.Vector2 | <optional> |
A Vector2 object to store the result in. If not given will be created. |
The coordinates of the point on the curve. If an out
object was given this will be returned.