Get a unit vector tangent at a relative position on the curve, by arc length.
name | type | arguments | description |
---|---|---|---|
u | number |
The relative position on the curve, [0..1]. |
|
out | Phaser.Math.Vector2 | <optional> |
A vector to store the result in. |
The tangent vector.